pub.dev

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

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';

You can then use the logger to print messages to the console:

arnaLogger(title: 'Arna Logger', data: 'Hello World');
┌─────────────────────────────────────────────────────────────────────┐
│ Arna Logger                                                         │
├─────────────────────────────────────────────────────────────────────┤
│ Hello World                                                         │
└─────────────────────────────────────────────────────────────────────┘
arnaLogger(
  title: 'Arna Json Logger',
  data: {'text': 'foo', 'value': '2'},
);
┌─────────────────────────────────────────────────────────────────────┐
│ Arna Json Logger                                                    │
├─────────────────────────────────────────────────────────────────────┤
│ {                                                                   │
│   "text": "foo",                                                    │
│   "value": "2"                                                      │
│ }                                                                   │
└─────────────────────────────────────────────────────────────────────┘

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.

Libraries

arna_logger
Arna Logger is a small and pretty logger for your applications.