MazamaCoreUtils (version 0.4.2)

logger.isInitialized: Check for initialization 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
# NOT RUN {
logger.isInitialized()
logger.setup()
logger.isInitialized()
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace