Last updated:
0 purchases
log chamber
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
copied to clipboard
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.
copied to clipboard
Retrieving Logs
List<String> authLogs = Chamber.get("auth");
List<String> generalLogs = Chamber.get();
copied to clipboard
Clearing Logs
Chamber.clear("auth"); // Clears only 'auth' logs.
Chamber.clear(); // Clears all logs.
copied to clipboard
Displaying Logs
Chamber.display(context); // Displays logs in a dialog.
Chamber.display(context, "auth"); // Displays logs of a specific key in a dialog.
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.