initialize method
Configures the logger if it has not been initialized.
This method should be used for the initial setup of the logger.
strategies
- List of strategies to use for logging.
level
- The minimum log level to log. Defaults to LogLevel.none.
Implementation
Future<void> initialize({
List<LogStrategy>? strategies,
LogLevel level = LogLevel.none,
}) async {
logger._initialize(strategies: strategies, level: level);
}