create.logger {log4r} | R Documentation |
Creates a logger object.
Description
Creates a logger object.
Usage
create.logger(logfile = "logfile.log", level = "FATAL", logformat = NULL)
Arguments
logfile |
The full pathname of the file you want log messages to be written to. |
level |
The level at which the logger is initialized. Will be coerced
using |
logformat |
The format string used when writing messages to the log file. |
See Also
Examples
library('log4r')
logger <- create.logger(logfile = 'debugging.log', level = "DEBUG")
[Package log4r version 0.4.3 Index]