Smartly coerce R objects that look like LogEvents to LogEvents. Mainly useful for developing Appenders.
Usage
as_LogEvent(x, ...)
# S3 method for class 'list'
as_LogEvent(x, ...)
# S3 method for class 'data.frame'
as_LogEvent(x, ...)
Value
a LogEvent
See also
Other docs relevant for extending lgr:
LogEvent
,
event_list()
,
standardize_threshold()