Wowpedia
Advertisement
Wowpedia
240,501
pages
Game Flavors
Links
Patch
Added in 1.7.0 / 1.13.2


Toggles the chat logging and returns the current state.

isLogging = LoggingChat([newState])


Parameters

Arguments

newState 
Boolean - toggles chat logging

Returns

isLogging 
Boolean - current state of logging


Example

if (LoggingChat()) then
  print("Chat is already being logged")
else
  print("Chat is not being logged - starting it!")  
  LoggingChat(1)
  print("Chat is now being logged to Logs\\WOWChatLog.txt")
end
Advertisement