error abstract method
Receives log messages at Error level and a related exception.
-
lineThe message to be logged. -
exceptionAn Exception instance related to the current log message.
Implementation
void error(String line, [ Exception? exception ]);