powered by
Get or set the format string for a logger object.
logformat(x)logformat(x) <- value# S3 method for logger logformat(x)# S3 method for logger logformat(x) <- value
logformat(x) <- value
# S3 method for logger logformat(x)
# S3 method for logger logformat(x) <- value
An object of class logger.
A string containing a proper format string.
library('log4r') logger <- create.logger(logfile = 'debugging.log', level = 'DEBUG') print(logformat(logger)) logformat(logger) <- 'FORMAT STRING'
Run the code above in your browser using DataLab