warn method
Logs a warning message.
msg
: The message to log.module
: The module name for the log.labels
: Additional labels for the log.
Implementation
void warn(msg, {String? module, LokiLabel? labels}) => _print(
msg, Level.warn, module, {_level: Level.warn.toString(), ...?labels});