error method
Log a new error message
dynamic
message
- message describes what happened
Object? exception
- exception if it happened
StackTrace? stackTrace
- stackTrace if exception
happened
talker.error('Log error');
Implementation
void error(
dynamic msg, [
Object? exception,
StackTrace? stackTrace,
]) {
_handleLog(msg, exception, stackTrace, LogLevel.error);
}