Git Product home page Git Product logo

swarajkumarsingh / flutter_logger_plus Goto Github PK

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

Customizable logger in flutter with pure dart code, with various color options, get insights like(where the print statement is called from and get time of the log), also view/delete old logs. Published on Pub.dev

Home Page: https://pub.dev/packages/flutter_logger_plus

License: MIT License

Java 0.95% Kotlin 0.21% Swift 3.18% Objective-C 1.09% Dart 12.89% CMake 34.25% C++ 39.12% C 3.44% HTML 3.12% Shell 1.77%
dart flutter package

flutter_logger_plus's Introduction

Flutter Url Launcher Plus

Pub Version GitHub License

Custom Flutter Logger is a flexible and customizable logger package for Flutter that adds color to your logs. This package supports a range of text colors, including red, yellow, white, blue, and green, making it easy to differentiate log levels and enhance your debugging and monitoring experience.

Features

  • ๐ŸŒˆ Colorful Logs: Easily differentiate log levels with vibrant text colors.
  • ๐ŸŽจ Customizable Formatting: Customize log output to suit your preferences.
  • โš™๏ธ Configurable: Fine-tune log levels and verbosity as per your needs.
  • ๐Ÿ“ File Logging: Optionally save logs to a file for later analysis.
  • ๐ŸŒ Integration: Seamlessly integrate with popular logging solutions like Firebase Crashlytics.
  • ๐ŸŒŸ Beginner-Friendly: Simple and easy-to-use API for developers of all skill levels.

Installation

To use Custom Flutter Logger in your Flutter project, follow these steps:

  1. Add the package to your pubspec.yaml file:

    dependencies:
      flutter_logger_plus: ^1.0.0
    
    
  • Customizable logger in flutter with pure dart code, with various color options, get insights like(where the print statement is called from and get time of the log), also view/delete old logs.

Supported Devices

  • Supports all Platforms

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  flutter_logger_plus:
  1. Import the package and use it in your Flutter App.
import 'package:flutter_logger_plus/flutter_logger_plus.dart';

Example

  logger.error();
  logger.log();
  logger.success();
  logger.info();
  logger.blue();
  logger.pink();
  logger.cyan();

Next Goals

  • More features to be added

Contributions

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a feature, please send a pull request.

License

This package is open-source and available under the MIT License.

Support

If you have questions or need assistance, feel free to reach out to us on GitHub Discussions.

flutter_logger_plus's People

Contributors

swarajkumarsingh avatar

Stargazers

 avatar

Watchers

 avatar

flutter_logger_plus's Issues

File Logging

Hi ๐Ÿ‘‹
In the readme you say:
"File Logging: Optionally save logs to a file for later analysis."
But how to implement this?
Is there any example?

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.