warn method
Log a message at the warn level.
Internally mapped to Level.WARNING
in the logging
package.
message
The content to log.
tag
Optional log source ID (default: 'flutter_ilib'
). Reserved for future use.
loc
Whether to include caller location infor (default: false
). Reserved for future use.
Implementation
@override
void warn(String message, {String tag = defaultTag, bool loc = false}) {
_logger.warning(_formatMessage(message, tag, loc));
}