logger_rs library
A beautiful Rust-style logger for Dart.
Logger RS provides a clean, colorful logging experience inspired by the Rust compiler's output format. It features precise location tracking, multiple log levels, and zero-configuration setup.
Example usage:
import 'package:logger_rs/logger_rs.dart';
void main() {
Log.i('Application started');
Log.w('This is a warning');
Log.e('An error occurred', error: exception);
}
Classes
- Level
- Levels to control logging output. Logging can be enabled to include all levels above certain Level. Levels are ordered using an integer value Level.value. The predefined Level constants below are sorted as follows (in descending order): Level.SHOUT, Level.SEVERE, Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, and Level.ALL.
- Log
- Rust-style logger for Dart.