Lua logging object - VanaDev/Vana GitHub Wiki
channel = { ["log"] = true, ["destination"] = system_log_console_sql_file, ["format"] = "[%e (%e)] - %msg", ["buffer_size"] = 10, ["file"] = "logs/%orig/%YY%MM%DD.log", };
Required: Yes
Type: boolean
Notes: Indicates whether or not logging should occur.
Required: Yes
Type: string
Notes: A logger.lua constants that indicates where the logging should go.
Required: Yes
Type: string
Notes: Describes the format of the output of each log entry. Supports Lua time replacements and Lua format logging replacements.
Required: No
Type: uint32
Notes: Used to determine how frequently a logger should dump the messages it has to the destination. Does not apply to the console.
Required: No
Type: string
Notes: Describes the format of the logging file output. Supports Lua time replacements and Lua format logging replacements.
Required: No
Type: string
Notes: Describes the time format that %t will expand to. If not specified, log_time_format will be used. Supports Lua time replacements.