quick_log 5.5.1 copy "quick_log: ^5.5.1" to clipboard
quick_log: ^5.5.1 copied to clipboard

An easy to use and extendable logging package for Dart. Especially useful for use in libraries, as it allows applications to control logging from the imported libraries.

example/main.dart

import 'package:quick_log/quick_log.dart';

class ExampleLogger extends Logger {
  const ExampleLogger(String name) : super(name, 'ExampleLogger');
}

void main() {
  const log = ExampleLogger('LogExample');

  LogWriter.enableInReleaseMode = true;
  Logger.writer = ConsolePrinter(minLevel: LogLevel.info);

  log.debug('this is a debug message');
  log.info('this is an info message');
}
21
likes
160
points
4.61k
downloads

Publisher

verified publishermuha.dev

Weekly Downloads

An easy to use and extendable logging package for Dart. Especially useful for use in libraries, as it allows applications to control logging from the imported libraries.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock, path, rxdart

More

Packages that depend on quick_log