logger.isInitialized: Check for initialization of loggers

Description Usage Value See Also Examples

View source: R/pylogger.R

Description

Returns TRUE if logging has been initialized. This allows packages to emit logging statements only if logging has already been set up, potentially avoiding 'futile.log' errors.

Usage

1

Value

TRUE if logging has already been initialized.

See Also

logger.setup

initializeLogging

Examples

1
2
3
4
5
6
## Not run: 
logger.isInitialized()
logger.setup()
logger.isInitialized()

## End(Not run)

MazamaCoreUtils documentation built on Nov. 12, 2021, 1:07 a.m.