Last updated:
0 purchases
arna logger
Introduction #
This is a Flutter plugin that provides a pretty logger for your application. It can parse and prettify your logs, making them easier to read and understand.
Installation #
Add Arna Logger as a dependency in your pubspec.yaml:
dependencies:
arna_logger: ^1.1.0
copied to clipboard
Then, run flutter pub get to install the package.
Usage #
To use the logger in your application, simply import the package:
import 'package:arna_logger/arna_logger.dart';
copied to clipboard
You can then use the logger to print messages to the console:
arnaLogger(title: 'Arna Logger', data: 'Hello World');
copied to clipboard
┌─────────────────────────────────────────────────────────────────────┐
│ Arna Logger │
├─────────────────────────────────────────────────────────────────────┤
│ Hello World │
└─────────────────────────────────────────────────────────────────────┘
copied to clipboard
arnaLogger(
title: 'Arna Json Logger',
data: {'text': 'foo', 'value': '2'},
);
copied to clipboard
┌─────────────────────────────────────────────────────────────────────┐
│ Arna Json Logger │
├─────────────────────────────────────────────────────────────────────┤
│ { │
│ "text": "foo", │
│ "value": "2" │
│ } │
└─────────────────────────────────────────────────────────────────────┘
copied to clipboard
License #
Arna Logger is BSD 3-Clause licensed.
Contributing #
Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.