warn abstract method

void warn(
  1. String line, [
  2. Exception? exception
])

Receives log messages at Warn level and a related exception.

  • line The message to be logged.

  • exception An Exception instance related to the current log message.

Implementation

void warn(String  line, [ Exception? exception ]);