Package provide simple Loggable
mixin to avoid typing class name for each class.
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 {
}
- 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.