ix.log
Logging helper functions.
Predefined flags:
FLAG_NORMAL
FLAG_SUCCESS
FLAG_WARNING
FLAG_DANGER
FLAG_SERVER
FLAG_DEV
Functions
ix.log.Add(client, logType, ...)
View source »Add a log message
Parameters
-
client
Player
Player who instigated the log
-
logType
string
Log category
-
...
Arguments to pass to the log
ix.log.AddType(logType, format, flag)
View source »Adds a log type
Parameters
-
logType
string
Log category
-
format
string
The string format that log messages should use
-
flag
number
Log level