flutter_easylogger 2.2.0 copy "flutter_easylogger: ^2.2.0" to clipboard
flutter_easylogger: ^2.2.0 copied to clipboard

outdated

Simple, pretty and powerful logger for flutter.

Language: English | 中文简体

flutter_logger #

  • Simple, pretty and powerful logger for flutter,It has the log level, file name and line number, and can customize the color of the log level,It was inspired by logger ,Color not supported on ios。
  • It can be printed on the phone, and logs can be filtered

Download #

flutter_easylogger: ^{LAST_VERSION}

Usage #

Logger.d("hello");

Output #

Options #

no tag

Logger.v("hello world");
Logger.d("hello world");
Logger.i("hello world");
Logger.w("hello world");
Logger.e("hello world");
var json = "{\"name\":\"tom\",\"age\":\"18\"}";
Logger.json(json);

with tag

Logger.e("hello",tag:"TAG");

Json support (output will be in debug level)

Logger.json(json);

Advanced #

Logger.levelVerbose = 247;
Logger.levelDebug = 26;
Logger.levelInfo = 28;
Logger.levelWarn = 3;
Logger.levelError = 9;

You can change the color of level, and the value is in the range of 0-255. Please refer to the picture below for details

Logs can be printed on the phone or filtered by log level or keyword

```dart Column( children: [ Expanded( // add ConsoleWidget child: ConsoleWidget(), ) ], ), ``` ## Note Turn off logging when production ``` Logger.enable = false; ```
9
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Simple, pretty and powerful logger for flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_fonts

More

Packages that depend on flutter_easylogger