loggable 1.1.0 copy "loggable: ^1.1.0" to clipboard
loggable: ^1.1.0 copied to clipboard

Dart Loggable mixin.

Loggable #

Package provide simple Loggable mixin to avoid typing class name for each class.

pub package

Usage #

Without Loggable:

import 'package:logging/logging.dart';

class MyClass{
  final Logger log = Logger("MyClass");
}

With Loggable:

import 'package:loggable/loggable.dart';

class MyClass extends Object with Loggable {
}

Features and bugs #

  • There is no support for logging from the static methods. Still need to creating Logger instance by hands.

Please file feature requests and bugs at the issue tracker.

1
likes
120
pub points
56%
popularity

Publisher

unverified uploader

Dart Loggable mixin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

logging

More

Packages that depend on loggable