log method
void
log(
- Object? message, {
- DebugConsoleLevel level = DebugConsoleLevel.normal,
- DateTime? timestamp,
- StackTrace? stackTrace,
Implementation
void log(
Object? message, {
DebugConsoleLevel level = DebugConsoleLevel.normal,
DateTime? timestamp,
StackTrace? stackTrace,
}) {
logs.add(DebugConsoleLog(
message: message,
level: level,
timestamp: timestamp,
stackTrace: stackTrace,
));
notifyUpdate();
}