logger.isInitialized: Check for initialization of loggers

View source: R/pylogger.R

logger.isInitializedR Documentation

Check for initialization of loggers

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

logger.isInitialized()

Value

TRUE if logging has already been initialized.

See Also

logger.setup

initializeLogging

Examples

## Not run: 
logger.isInitialized()
logger.setup()
logger.isInitialized()

## End(Not run)


MazamaCoreUtils documentation built on Aug. 25, 2022, 1:07 a.m.