MazamaCoreUtils (version 0.5.2)

logger.isInitialized: 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()

Arguments

Value

TRUE if logging has already been initialized.

See Also

logger.setup

initializeLogging

Examples

Run this code
if (FALSE) {
logger.isInitialized()
logger.setup()
logger.isInitialized()
}

Run the code above in your browser using DataLab