simpleConsolePrint function
void
simpleConsolePrint()
Print all logs to the console in the form "level
message" when
kDebugMode is true.
Implementation
void simpleConsolePrint(
LogLevel level,
String message,
String? errorMessage,
String? errorKind,
StackTrace? stackTrace,
Map<String, Object?> attributes,
) {
if (kDebugMode) {
print('[${level.name}] $message');
}
}