set_logger {CRE} | R Documentation |
Set Logger settings
Description
Updates logger settings, including log level and location of the file.
Usage
set_logger(logger_file_path = "CRE.log", logger_level = "INFO")
Arguments
logger_file_path |
A path (including file name) to log the messages. (Default: CRE.log) |
logger_level |
The log level. When a log level is set, all log levels below it are also activated (if implemented). Available levels include:
|
Value
No return value. This function is called for side effects.
Note
Log levels are specified by developers during the initial implementation. Future developers or contributors can leverage these log levels to better capture and document the application's processes and events.
Examples
set_logger("Debug")