webmcp
annotate framework/env/trace/is_disabled.lua @ 78:bff7194ea72c
Added tag v1.2.2 for changeset 727a10edeb8d
| author | jbe |
|---|---|
| date | Thu Jun 21 17:18:44 2012 +0200 (2012-06-21) |
| parents | 0bbfee4d4aed |
| children |
| rev | line source |
|---|---|
| jbe@41 | 1 --[[-- |
| jbe@41 | 2 disabled = -- boolean indicating if trace system is disabled |
| jbe@41 | 3 trace.is_disabled() |
| jbe@41 | 4 |
| jbe@41 | 5 This function returns true, if the trace system has been disabled. Otherwise false is returned. |
| jbe@41 | 6 |
| jbe@41 | 7 --]]-- |
| jbe@41 | 8 |
| jbe@41 | 9 function trace.is_disabled() |
| jbe@41 | 10 return trace._disabled |
| jbe@41 | 11 end |