warn method
Logs a message with LogLevel.WARN.
Use this for recoverable issues that need attention but don’t halt execution.
Example:
logger.warn('Cache miss', tag: 'Cache');
Implementation
@override
void warn(dynamic message, {String? tag, Object? error, StackTrace? stackTrace}) {
listener.onLog(LogLevel.WARN, message, error: error, stackTrace: stackTrace, tag: tag);
}