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

A lightweight, opinionated, colorful logging utility for Dart applications. Minimal configuration necessary.

example/simplest_logger_example.dart

import 'package:simplest_logger/simplest_logger.dart';

final class MyClass with SimplestLoggerMixin {
  void myMethod() {
    logger.info('Hello, world!');
    logger.warning('This is a warning');
    logger.debug('This is a debug message');
    logger.error('This is an error message');
  }
}

void main() {
  final myClass = MyClass();
  myClass.myMethod();
}
0
likes
160
points
140
downloads

Publisher

verified publisherbizjak.dev

Weekly Downloads

A lightweight, opinionated, colorful logging utility for Dart applications. Minimal configuration necessary.

Repository (GitLab)
View/report issues

Topics

#logging

Documentation

API reference

License

MIT (license)

More

Packages that depend on simplest_logger