logkeeper 1.0.0+1
logkeeper: ^1.0.0+1 copied to clipboard
Simple file logger that works out of the box with automatic timestamping and session management.
example/example.dart
import 'package:logkeeper/logkeeper.dart';
void main() async {
// Log different levels of messages
LogKeeper.info('Application started');
LogKeeper.warning('Low memory detected');
LogKeeper.error('Connection failed');
LogKeeper.critical('System failure');
// Save and close log file when done
await LogKeeper.saveLogs();
}