Giter Site home page Giter Site logo

mahanrahmati / arna_logger Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 331 KB

A pretty logger for your applications.

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.20% Ruby 4.27% Swift 2.02% Objective-C 0.06% Dart 21.62% CMake 29.87% C++ 36.76% C 2.27% HTML 2.93%
dart flutter logger logging-library

arna_logger's Introduction

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.

arna_logger's People

Contributors

dependabot[bot] avatar mahanrahmati avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.