belatuk_pretty_logging 6.0.0-beta.1
belatuk_pretty_logging: ^6.0.0-beta.1 copied to clipboard
Standalone helper for colorful logging output, using pkg:io AnsiCode.
example/main.dart
import 'package:logging/logging.dart';
import 'package:belatuk_pretty_logging/belatuk_pretty_logging.dart';
void main() {
Logger.root
..level = Level.ALL
..onRecord.listen(prettyLog)
..info('Hey!')
..finest('Bye!')
..severe('Oops!', StateError('Wrong!'), StackTrace.current);
}