Table: rom.log
Table containing functions for printing to console / log file.
Functions (5)
info(args)
Logs an informational message.
- Parameters:
args
(any)
Example Usage:
rom.log.info(args)
warning(args)
Logs a warning message.
- Parameters:
args
(any)
Example Usage:
rom.log.warning(args)
debug(args)
Logs a debug message.
- Parameters:
args
(any)
Example Usage:
rom.log.debug(args)
error(arg, level)
Logs an error message. This is a mirror of lua classic error
function.
- Parameters:
arg
(any)level
(integer)
Example Usage:
rom.log.error(arg, level)
refresh_filters()
Refresh the log filters (Console and File) from the config file.
Example Usage:
rom.log.refresh_filters()