/
TRACE (Lua-Variable)

TRACE (Lua-Variable)

Die globale Lua-Variable TRACEenthält das aktuelle Trace-Level(siehe Trace-Level).

Typ


number

Beschreibung


Die Variable kann z.B. dafür verwendet werden, ein Lua-Skript durch Trace-Level-abhängige Protokollierung zu erweitern (siehe Beispiel).

Beispiele


if TRACE > 0 then 
   SY_Proto( "Die Meldung, die nur bei TRACE > 0  im Protokoll erscheint" )
end

Related content

SysLogRoot (Lua-Variable)
SysLogRoot (Lua-Variable)
More like this
ExecLua (TA)
ExecLua (TA)
More like this
luadir (TA)
luadir (TA)
More like this
SysLogDatum (Lua-Variable)
SysLogDatum (Lua-Variable)
More like this
ExecLua
ExecLua
More like this
arg (Lua-Variable)
arg (Lua-Variable)
More like this