View source: R/create.logger.R
create.logger | R Documentation |
Creates a logger object.
create.logger(logfile = "logfile.log", level = "FATAL", logformat = NULL)
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. |
loglevel()
, level.logger()
library('log4r')
logger <- create.logger(logfile = 'debugging.log', level = "DEBUG")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.