Learn R Programming

logger (version 0.4.0)

log_formatter: Get or set log message formatter

Description

Get or set log message formatter

Usage

log_formatter(formatter = NULL, namespace = "global", index = 1)

Arguments

formatter

function defining how R objects are converted into a single string, eg formatter_paste(), formatter_sprintf(), formatter_glue(), formatter_glue_or_sprintf(), formatter_logging(), default NULL

namespace

logger namespace

index

index of the logger within the namespace

See Also

Other log configutation functions: log_appender(), log_layout(), log_threshold()