l 0.0.1 copy "l: ^0.0.1" to clipboard
l: ^0.0.1 copied to clipboard

outdated

Crossplatform html/io [L]ogger library with simple API. Manipulate with native console and store logs in txt files and indexedDB.

example/main.dart

// ignore_for_file: unnecessary_statements
import 'package:l/l.dart';

void main() {
  l.lvl = 4; // set verbose level
  l.storeLogs = true; // store logs
  l.e('error msg');
  l.w('warning msg');
  l.i('info msg');
  l < 'alt info msg';
  l.d('debug msg');
  l << 'alt debug msg';
  l.pause(); // pause log queue
  l.v('verbose lvl #1');
  l.vv('verbose lvl #2');
  l.vvv('verbose lvl #3');
  l.storeLogs = false; // store logs
  l.vvvv('verbose lvl #4');
  l.vvvvv('verbose lvl #5');
  l.vvvvvv('verbose lvl #6');
  l.resume(); // resume log queue
  l.clear(); // clear console
  l.close(); // kill logger
}
86
likes
0
pub points
91%
popularity

Publisher

verified publisherplugfox.dev

Crossplatform html/io [L]ogger library with simple API. Manipulate with native console and store logs in txt files and indexedDB.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on l