This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz eLoggingEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Sigonasr2 (talk | contribs)
Uses: Linked BZFS_Command_Line_Options page.
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eLoggingEvent''' is an API event called whenever a debug message is outputted. These can normally be seen with the -d verbose options.
 
==Data==
'''bz_eLoggingEvent''' returns the '''bz_LoggingEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  | bz_eLoggingEvent
  |-
  |level
  |int
  |The debug level that this debug message is being triggered at. -d corresponds to level 1, -dd to level 2, etc.
  |-
  |message
  |[[bz_ApiString]]
  |The debug message that is being outputted.
  |-
  |eventTime
  |double
  |The server time the event occurred (in seconds.)
  |}
 
==Uses==
If for some reason you do not want to enable the [[BZFS_Command_Line_Options|debug options in BZFS]] or want to watch debug within the game, you could use this event.
 
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]

Latest revision as of 02:39, 25 November 2025