makeLogRecord: Make a log record

Description Usage Arguments Value Examples

View source: R/log.R

Description

Add default values and make a formatted log record

Usage

1
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

1
makeLogRecord(list(msg="This is a test"))

Rapporteket/raplog documentation built on Nov. 30, 2021, 5:57 a.m.