rotation_log 0.0.7 copy "rotation_log: ^0.0.7" to clipboard
rotation_log: ^0.0.7 copied to clipboard

logging supported rotation files

Features #

logger support rotation day or lines.

Usage #

import 'package:rotation_log/rotation_log.dart';

final term = RotationLogTerm.term(RotationLogTermEnum.daily);
final logger = RotationLogger(term);

Future main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await logger.init();
  runZonedGuarded(() async {
    runApp(const MyApp());
  }, (error, trace) {
    logger.exception(error, trace);
  });
}
copied to clipboard
1
likes
120
points
593
downloads

Publisher

verified publisherplayon.jp

Weekly Downloads

2024.09.26 - 2025.04.10

logging supported rotation files

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

archive, clock, fake_async, flutter, intl, logger, meta, path, path_provider, stack_trace

More

Packages that depend on rotation_log