c3d.log
The log module can be used to interact with the C3D log which is saved in libC3D/c3d.log
add(str [, type]) | adds a new string into the log |
---|---|
dump() | dumps the log into the log file. |
bus_state() | adds all the data currently in the data bus (under the debug type) |
table(tbl [, type]) | writes a table into the log |
get_log() | returns the access point to the internal logging api |
types | bunch of log types |
- add(str [, type])Source
adds a new string into the log
Parameters
- str string string to add to log
- type? number log type
- dump()Source
dumps the log into the log file. (libC3D/c3d.log)
- bus_state()Source
adds all the data currently in the data bus (under the debug type)
- table(tbl [, type])Source
writes a table into the log
Parameters
- tbl table table to log
- type? number
- get_log()Source
returns the access point to the internal logging api
Returns
- log_api internal log api
- typesSource
bunch of log types
success warn error fatal info debug