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.

logger.isInitialized()

Value

TRUE if logging has already been initialized.

Examples

if (FALSE) {
logger.isInitialized()
logger.setup()
logger.isInitialized()
}