warn abstract method

void warn(
  1. String message, {
  2. String tag = defaultTag,
  3. bool loc = false,
})

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});