surf_logger 0.0.1-dev.0
surf_logger: ^0.0.1-dev.0 copied to clipboard
Logger for Dart & Flutter
SurfGear
logger #
Logger for Dart & Flutter
Usage #
Main classes:
- Logger
- RemoteLogger
Logger #
Logger is used as a singleton. The main methods:
- .d - debug
- .w - warn, for expected error
- .e - error
Logging strategies can be supplemented by implementing the LogStrategy
heir
When adding RemoteLogStrategy
to the remote server, all logs are sent above the WARN level
In order not to pollute Crashlytics we use Logger # w ()
for the expected errors