warn abstract method
Logs a warning message.
message
is the content to log.
tag
is an optional identifier for the log source (default: 'default').
loc
indicates whether to include location information (default: false).
Implementation
void warn(String message, {String tag = defaultTag, bool loc = false});