Smartly coerce R objects that look like LogEvents to LogEvents. Mainly useful for developing Appenders.
as_LogEvent(x, ...)
# S3 method for list
as_LogEvent(x, ...)
# S3 method for data.frame
as_LogEvent(x, ...)
any supported R object
currently ignored
a LogEvent
Note: as_LogEvent.data.frame()
only supports single-row data.frames
Other docs relevant for extending lgr:
LogEvent
,
event_list()
,
standardize_threshold()