webmcp

view framework/env/trace/is_disabled.lua @ 172:a83164390355

Allow json.object and json.array functions to convert any Lua value using __pairs and __ipairs metamethods
author jbe
date Fri Aug 01 17:11:59 2014 +0200 (2014-08-01)
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