installCustomLogger static method
Installs a custom logger implementation.
logger: The custom LoggerBase implementation to install.
Returns: A LogError indicating success or failure.
Implementation
static LogError installCustomLogger(LoggerBase logger) {
return isCriticalMode
? LogError(-5, message: 'is in critical mode')
: loggerManager.installCustomLogger(logger);
}