rotation_log 0.0.5 icon indicating copy to clipboard operation
rotation_log: ^0.0.5 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);
  });
}