logger.isInitialized: Check for initialization of loggers

View source: R/utils-logging.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 May 29, 2024, 4:47 a.m.