Es dbgmsgv

From EventScripts Community Encyclopedia


Overview

Syntax: es_dbgmsgv <level> <msg-variable>

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_xdbgmsgv

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-variable - The variable that contains the debug msg to show up in console.


Examples

es_xsetinfo mymsg "This message outputs if debug level is 1"
es_xdbgmsgv 1 mymsg


Notes

  • Helpful for troubleshooting at times.
  • Doesn't expand anything in the variable.


See also

blog comments powered by Disqus