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