W4MLogger_[info,warning,error,debug,verbose] {W4MRUtils} | R Documentation |
Log info/warning/error/debug/verbose messages
Description
Call one of the following function when you want a message to be printed or written in a log file:
-
your_logger$info("A info message")
; -
your_logger$warning("A warning message")
; -
your_logger$error("A error message")
; -
your_logger$debug("A debug message")
; -
your_logger$verbose.("A verbose. message")
If the corresponding level is activated (with your_logger$set_info(TRUE), your_logger$set_debug(TRUE), etc...), these functions will print the message provided in the terminal and in logs files, if there were some provided at the creation of the logger.
If the corresponding log level is deactivated, these function will not do anything. So, do not hesitate to use them a lot, and activate them when needed.
See get_logger for example usages.
Author(s)
L.Pavot