powered by
Creates a logger object.
create.logger(logfile = "logfile.log", level = "FATAL", logformat = NULL)
The full pathname of the file you want log messages to be written to.
The level at which the logger is initialized. Will be coerced using as.loglevel().
as.loglevel()
The format string used when writing messages to the log file.
loglevel(), level.logger()
loglevel()
level.logger()
library('log4r') logger <- create.logger(logfile = 'debugging.log', level = "DEBUG")
Run the code above in your browser using DataLab