mini_log 0.5.1 icon indicating copy to clipboard operation
mini_log: ^0.5.1 copied to clipboard

A lightweight logger utility. It prints out log with prefix icon and line location in source file with log message.

mini_log #

A lightweight logger utility.

Getting Started #

logd('Debug log message.');
logi('Debug log message.');
logw('Debug log message.');
loge('Debug log message.');
logc('Debug log message.');
logJson({
  'outerKey': {'innerKey': 'innerValue'}
});

Result #

[log] ⚪[2020-10-06 14:27:32.560097] <package:chatbot/main.dart 17:3 in main> Debug log message.

[log] 🔵[2020-10-06 14:27:32.585174] <package:chatbot/main.dart 18:3 in main> Debug log message.

[log] 🤔[2020-10-06 14:27:32.586513] <package:chatbot/main.dart 19:3 in main> Debug log message.

[log] 😡[2020-10-06 14:27:32.587854] <package:chatbot/main.dart 20:3 in main> Debug log message.

[log] 💥[2020-10-06 14:27:32.588777] <package:chatbot/main.dart 21:3 in main> Debug log message.

[log] { "outerKey": { "innerKey": "innerValue" } }

2
likes
100
pub points
2%
popularity

Publisher

unverified uploader

A lightweight logger utility. It prints out log with prefix icon and line location in source file with log message.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, stack_trace

More

Packages that depend on mini_log