webmcp
view framework/env/trace/enter_filter.lua @ 214:6ac7133bb58e
Work on Moonbridge integration: added execute._initializers(...), new function request.get_param{...}; Code cleanup in mcp.lua and tempstore.save(...)
author | jbe |
---|---|
date | Sat Jan 10 10:44:17 2015 +0100 (2015-01-10) |
parents | 0bbfee4d4aed |
children |
line source
1 --[[--
2 trace.enter_filter{
3 path = path
4 }
6 This function logs the call of a filter, when using execute.filtered_view{...} and execute.filtered_action{...}.
8 --]]--
10 function trace.enter_filter(args)
11 if not trace._disabled then
12 local path = args.path
13 if type(path) ~= "string" then
14 error("No path string passed to trace.enter_filter{...}.")
15 end
16 trace._open_section{ type = "filter", path = path }
17 end
18 end