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