belatuk_pretty_logging 6.2.0 copy "belatuk_pretty_logging: ^6.2.0" to clipboard
belatuk_pretty_logging: ^6.2.0 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);
}
0
likes
160
pub points
71%
popularity

Publisher

verified publisherdukefirehawk.com

Standalone helper for colorful logging output, using pkg:io AnsiCode.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

io, logging

More

Packages that depend on belatuk_pretty_logging