setLevel: Set logging.level for the object.

Description Usage Arguments Examples

View source: R/logger.R

Description

Alter an existing logger or handler, setting its logging.level to a new value. You can access loggers by name, while you must use getHandler to get a handler.

Usage

1
setLevel(level, container = "")

Arguments

level

The new level for this object. Can be numeric or character.

container

a logger, its name or a handler. Default is root logger.

Examples

1
2
3
basicConfig()
setLevel("FINEST")
setLevel("DEBUG", getHandler("basic.stdout"))

logging documentation built on July 14, 2019, 5:02 p.m.