webmcp

view framework/env/trace/error.lua @ 363:1d850c6688b6

New release of v2.0.2 because tar.gz file of v2.0.1 did not contain Makefile.options
author jbe
date Sun Mar 29 15:21:54 2015 +0200 (2015-03-29)
parents a74e62c96501
children
line source
1 --[[--
2 trace.error{
3 }
5 This function is called automatically in case of errors to log them.
7 --]]--
9 function trace.error(args)
10 if not trace._disabled then
11 trace._new_entry { type = "error" }
12 while #trace._stack > 1 do
13 trace._close_section()
14 end
15 end
16 end

Impressum / About Us