stac_logger 1.1.0
stac_logger: ^1.1.0 copied to clipboard
A lightweight and reusable logging utility for the Stac framework.
Getting started #
Add the package to your pubspec.yaml
:
dependencies:
stac_logger: ^1.0.0
Then run:
flutter pub get
Usage #
Import the package and use the Log
class to log messages:
import 'package:stac_logger/stac_logger.dart';
void main() {
// Log a debug message
Log.d('Debug message');
// Log an info message
Log.i('Info message');
// Log a warning message
Log.w('Warning message');
// Log an error message
Log.e('Error message');
}