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 hold of a handler.

Usage

1
setLevel(level, container)

Arguments

level

the new level for this object. can be numeric or character.

container

a logger or a handler.

Examples

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

logging documentation built on May 29, 2017, 11:50 a.m.

Search within the logging package
Search all R packages, documentation and source code