bz_eLoggingEvent
This event is called whenever a debug message is outputted
Data Object Type
2.4.0 bz_LoggingEventData_V1
Parameters
These are the values accessible in the bz_EventData
variable that's made available in the Event
method.
Data Type | Name | Description |
---|---|---|
int |
level
|
The debug level that this debug message is being triggered at. |
bz_ApiString |
message
|
The debug message that is being outputted. |
double |
eventTime
|
The server time the event occurred (in seconds.) |
Plug-in Usage
There are no plug-ins in the official distribution that make use of this event. Browse the Plug-in Releases forum for plug-ins which may make use of this event.
Plug-in Example
This block of code can be used to get started when implementing the Event()
function of your plug-in.
bz_LoggingEventData_V1* dataObject = (bz_LoggingEventData_V1*)eventData;
// Data
// ---
// (int) level - The debug level that this debug message is being triggered at. `-d` corresponds to level 1, `-dd` to level 2, etc.
// (bz_ApiString) message - The debug message that is being outputted.
// (double) eventTime - The server time the event occurred (in seconds.)
Other Logging Events
This content is maintained on GitHub. We welcome any feedback and improvements!