Add default values and make a formatted log record

makeLogRecord(content, format = "csv")

Arguments

content

A named list of values to be logged

format

String defining the format of the log record. Supported values: 'csv' (default)

Value

A formatted log entry

Examples

makeLogRecord(list(msg="This is a test"))
#> time msg #> 1 2019-12-17 07:25:08 This is a test