logformat {log4r} | R Documentation |
Get or set the format string for a logger object.
Description
Get or set the format string for a logger object.
Usage
logformat(x)
logformat(x) <- value
## S3 method for class 'logger'
logformat(x)
## S3 replacement method for class 'logger'
logformat(x) <- value
Arguments
x |
An object of class logger. |
value |
A string containing a proper format string. |
Examples
library('log4r')
logger <- create.logger(logfile = 'debugging.log', level = 'DEBUG')
print(logformat(logger))
logformat(logger) <- 'FORMAT STRING'
[Package log4r version 0.4.3 Index]