log_formatter: Get or set log message formatter

View source: R/logger.R

log_formatterR Documentation

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()


daroczig/logger documentation built on Oct. 11, 2024, 12:48 a.m.