cherrilog 0.1.0+1 copy "cherrilog: ^0.1.0+1" to clipboard
cherrilog: ^0.1.0+1 copied to clipboard

retracted

Perhaps the simplest and most useful log library for dart. Lightweight and easy to apply.

example/cherrilog_example.dart

import 'package:cherrilog/cherrilog.dart';

void main() {
  CherriLog.init(
    options: CherriOptions()
      ..maximumLevel = CherriLogLevel.all
      ..minimumLevel = CherriLogLevel.off,
  ).logTo(CherriConsole());

  debug('You are doing something right');

  info('You are doing something');

  warning('You are doing something wrong');

  error('You can not shutdown power');

  fatal('The power is off');
}
4
likes
0
pub points
68%
popularity

Publisher

unverified uploader

Perhaps the simplest and most useful log library for dart. Lightweight and easy to apply.

Repository (GitHub)
View/report issues

Topics

#logging #utility

License

unknown (LICENSE)

Dependencies

intl, path_provider, stack_trace

More

Packages that depend on cherrilog