log_chamber 1.2.0 copy "log_chamber: ^1.2.0" to clipboard
log_chamber: ^1.2.0 copied to clipboard

A logging tool for Flutter applications that acts like a console window that can be seen inside the app.

Chamber - A easy log viewing tool #

Introduction #

Welcome to Chamber, a intuitive logging package for Flutter apps. Designed to help track issues on devices outside of the emulator world.

Features #

  • Easy Logging: Log messages with optional categorization.
  • Flexible Retrieval: Retrieve logs based on categories.
  • Clear Logs with Ease: Clear all logs or specific categories.
  • In-App Log Display: View logs in a user-friendly dialog.

Getting Started #

To get started with Chamber, follow these simple steps:

Installation #

Add Chamber to your Flutter project by including it in your pubspec.yaml file:

dependencies:
  chamber: ^1.2.0

Usage #

Here's a quick guide to using Chamber in your app:

Logging Messages

Chamber.log("User logged in successfully", "auth");
Chamber.log("This is a general log message"); // Defaults to "general" key.

Retrieving Logs

List<String> authLogs = Chamber.get("auth");
List<String> generalLogs = Chamber.get();

Clearing Logs

Chamber.clear("auth"); // Clears only 'auth' logs.
Chamber.clear(); // Clears all logs.

Displaying Logs

Chamber.display(context); // Displays logs in a dialog.
Chamber.display(context, "auth"); // Displays logs of a specific key in a dialog.

Contributing #

Contributions to Chamber are welcome!

License #

Chamber is released under the MIT License.

Support #

If you encounter any issues or have suggestions, please open an issue on our GitHub repository.

1
likes
150
pub points
24%
popularity

Publisher

unverified uploader

A logging tool for Flutter applications that acts like a console window that can be seen inside the app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on log_chamber