cherrilog 0.1.1+1
cherrilog: ^0.1.1+1 copied to clipboard
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()
..logLevelRange = CherriLogLevelRanges.all
..useBuffer = false,
).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');
}