webmcp
annotate framework/env/trace/debug_table.lua @ 438:ea8419658535
Another change to make <db_object>:try_save() work properly with "document_column"
(use "_col" proxy also for accessing self._col[primary_key.json_doc])
(use "_col" proxy also for accessing self._col[primary_key.json_doc])
author | jbe |
---|---|
date | Wed Jan 20 21:06:07 2016 +0100 (2016-01-20) |
parents | 3480a11da8e8 |
children |
rev | line source |
---|---|
poelzi@33 | 1 --[[-- |
poelzi@38 | 2 trace.debug_table( |
poelzi@33 | 3 message -- message to be inserted into the trace log |
poelzi@33 | 4 ) |
poelzi@33 | 5 |
poelzi@33 | 6 This function can be used to include debug output in the trace log. |
poelzi@33 | 7 |
poelzi@33 | 8 --]]-- |
poelzi@33 | 9 |
poelzi@33 | 10 function trace.debug_table(table) |
poelzi@33 | 11 trace._new_entry{ type = "debug_table", message = table } |
poelzi@33 | 12 end |