Es dbgmsg

From EventScripts Community Encyclopedia


Overview

Syntax: es_dbgmsg <level> <msg>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xdbgmsg

Description

Outputs debug messages controlled by the eventscripts_debug level and the eventscripts_debuglog setting

Parameters

  • level - The level of eventscripts_debug, or higher, at which this message outputs.
  • msg - The debug msg to show up in console.


Examples

es_dbgmsg 1 "This message outputs if debug level is 1"


Notes

  • Helpful for troubleshooting at times.


See also

blog comments powered by Disqus