Logging
Noir.Libraries.Logging: NoirLibrary
A library containing methods related to logging.
Noir.Libraries.Logging.LoggingMode: NoirLoggingMode
The mode to use when logging.
"DebugLog": Sends logs to DebugView
"Chat": Sends logs to chat
Noir.Libraries.Logging.OnLog: NoirEvent
An event called when a log is sent.
Arguments: (log: string)
Noir.Libraries.Logging.Layout: string
Represents the logging layout.
Requires two '%s' in the layout. First %s is the log type, the second %s is the log title. The message is then added after the layout.
Set the logging mode.
Parameters
mode
: NoirLoggingMode
Sends a log.
Parameters
logType
: stringtitle
: stringmessage
: any...
: any
Format a log.
Used internally.
Parameters
logType
: stringtitle
: stringmessage
: any...
: any
Sends an error log.
Passing true to the third argument will intentionally cause an addon error to be thrown.
Parameters
title
: stringmessage
: anytriggerError
: boolean...
: any
Sends a warning log.
Parameters
title
: stringmessage
: any...
: any
Sends an info log.
Parameters
title
: stringmessage
: any...
: any
Sends a success log.
Parameters
title
: stringmessage
: any...
: any
Last updated