crispin 1.0.0 crispin: ^1.0.0 copied to clipboard
Crispin Logger for Dart and Flutter, that allows to use transports along with the logger.
crispin #
Crispin is a configurable for Dart and Flutter centralizing and streamlining the decision of what specific logger to use and when. This is done through a common interface with the ability to add many Transports as needed.
void main() {
Crispin().addTransport(LocalLoggerTransport('error'));
FlutterError.onError = (FlutterErrorDetails details) {
CrispinLogger().error('Flutter Error', error: details.exception, stackTrace: details.stack);
};
}
Inspiration #
Heavily inspired by the fantastic WinstonJS project! Thus, the name of this project is a nod to the Winston project by way of another reference. In the video game Overwatch, the character Winston is voiced by Crispin Freeman
README Badge #
Using Crispin? Add a README badge to show it off:
[![crispin](https://img.shields.io/badge/uses%20-crispin-33AEE7.svg?style=flat-square)](https://github.com/delvefore/crispin)