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

A lightweight, easy-to-use structured logging package for Dart and Flutter.

A lightweight, easy-to-use structured logging package for Dart and Flutter.

Features

  • Write logs data into txt files
  • Zip txt files into logs.zip with password to unzip
  • Share logs.zip file to outside

Getting started

  1. Add to pubspec.yaml:
dependencies:
    logz: ^0.0.1
  1. Import and initialize:
import 'package:logz/logz.dart';

final logZ = LogZ(zipPassword: 'PASSWORD_TO_UNZIP_FILE', logFilePrefix: 'FILE_NAME_PREFIX');

Usage

  • Basic:
logZ.logToFile('Logging via logToFile function');
logZ.zipToShareLog();
final zipFile = await logZ.zipLog();

Additional information

  • See /example for complete examples.
  • Contributing: open issues or PRs on the repository; follow repository contribution guidelines.
  • License: MIT (or replace with your chosen license).
  • For questions or feature requests, open an issue on the project's issue tracker.
0
likes
160
points
143
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight, easy-to-use structured logging package for Dart and Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

archive, device_info_plus, flutter, package_info_plus, path_provider, share_plus

More

Packages that depend on logz