webmcp

view framework/env/trace/render.lua @ 34:e19b0b5c46ba

allow execptions an slot.reset_all()

this is usefull when an error is detected deep into a view where you want redirect
to something usefull, but still save some slots like notice and error slots
author Daniel Poelzleithner <poelzi@poelzi.org>
date Wed Oct 06 16:14:33 2010 +0200 (2010-10-06)
parents 9fdfb27f8e67
children 0bbfee4d4aed
line source
1 --[[--
2 trace.render()
4 This function renders a trace log and writes it into the active slot.
6 --]]--
8 function trace.render()
9 -- TODO: check if all sections are closed?
10 trace._render_sub_tree(trace._tree)
11 end

Impressum / About Us