colour_log 0.2.1

Flutter Android iOS web

A new Flutter package project.

colour_log #

Introduce #

A sample logger tool for flutter. support logLevel config and log format. Hope making log colorful and logLevel based callback in the future

How to Use #

add dependence in pubspec.yaml

dependencies:
  flutter:
    sdk: flutter

  ...

  colour_log: ^0.2.0

import "package:colour_log/colour_log.dart"

...

  var log = Logger(); // default log level debug
  log.d("debug");
  log.i("info");
  log.e("warn");
  log.e("error");

  log.logLevel = LogLevel.INFO
  log.d("debug"); // will not show
  log.i("info");
  log.e("warn");
  log.e("error");

0
likes
70
pub points
13%
popularity

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

genius840215@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on colour_log