setMsgComposer: Sets message composer for logger.

Description Usage Arguments Details

View source: R/logger.R

Description

Message composer is used to compose log message out of formatting string and arguments. It is function with signature function(msg, ...). Formatting message is passed under msg and formatting arguments are passed as ....

Usage

1
setMsgComposer(composer_f, container = "")

Arguments

composer_f

message composer function (type: function(msg, ...))

container

name of logger to reset message composer for (type: character)

Details

If message composer is not set default is in use (realized with sprintf). If message composer is not set for sub-logger, parent's message composer will be used.


periscope documentation built on July 8, 2020, 7:18 p.m.