The Log library provides functions for emmiting log messages, which can be helpful to developers. All of these functions are contained in the “Log” Lua table found in the “log.lua” unit.
Usage example:
-- First, you need to use the “log.lua” unit -- Now you can access the functions of the library. |
The log messages emmited by this library are sent to:
function Log.e(tag, msg) |
Emmit log message
Arguments:
Log severity:
Log.e |
Error message A situation that represents an unhandled error that may interrupt some operation |
Log.w |
Warning message A situation that can be handled but may cause some unintended behavior |
Log.i |
Informational/Notice message A normal but significant condition that may require special handling. |
Log.d |
Debug message A developer debug message |
Log.v |
Verbose message Algorithm steps message, very low priority messages. Remarks:
|
Created with the Personal Edition of HelpNDoc: Leave the tedious WinHelp HLP to CHM conversion process behind with HelpNDoc