webmcp

view framework/env/trace/is_disabled.lua @ 202:eceb6f56e9ed

Use luaL_len and lua_gettable to read argument passed to json.array{...}
author jbe
date Mon Aug 25 20:00:01 2014 +0200 (2014-08-25)
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