Logs a WARN message.
The message to log.
The tag to identify the log source. Defaults to the current default tag.
An optional exception associated with the warning.