webmcp

view framework/env/trace/is_disabled.lua @ 68:ebdc20b7048b

Lua 5.2 compatibility:
Make function load accepting strings as first argument
author jbe
date Tue Apr 17 16:26:32 2012 +0200 (2012-04-17)
parents 0bbfee4d4aed
children
line source
1 --[[--
2 disabled = -- boolean indicating if trace system is disabled
3 trace.is_disabled()
5 This function returns true, if the trace system has been disabled. Otherwise false is returned.
7 --]]--
9 function trace.is_disabled()
10 return trace._disabled
11 end

Impressum / About Us