R/LogEvent.R
toString.LogEvent.Rd
Convert a LogEvent to a character string
# S3 method for LogEvent toString(x, ...)
a LogEvent
ignored
a character scalar
character
toString(LogEvent$new(logger = lgr::lgr)) #> [1] "$level: `400`, $timestamp: `2023-03-04 20:04:48`, $logger: `root`, $caller: `NA`, $msg: `NA`"