log
graph
tags
branches
changeset
browse
file
latest
diff
annotate
file log
raw
webmcp
view framework/env/trace/error.lua @ 443:2131f02763fe
find changesets by author, revision, files, or words in the commit message
merge
author
jbe
date
Tue Feb 16 21:03:52 2016 +0100 (2016-02-16)
parents
a74e62c96501
children
line source
1
--[[--
2
trace.error{
3
}
4
5
This function is called automatically in case of errors to log them.
6
7
--]]--
8
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