Spark Online Training by Edureka

getHandler: retrieves a handler from a logger.

Description Usage Arguments Examples

Description

handlers are not uniquely identified by their name. only within the logger to which they are attached is their name unique. this function is here to allow you grab a handler from a logger so you can examine and alter it.

typical use of this function is in setLevel(newLevel, getHandler(...)).

Usage

1
getHandler(handler, logger='')

Arguments

handler

the name of the handler, or its action.

logger

optional: the name of the logger. defaults to the root logger.

Examples

1
2
3


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.