sane_flog 0.0.4 copy "sane_flog: ^0.0.4" to clipboard
sane_flog: ^0.0.4 copied to clipboard

Flutter package that allows for ndjson logging for apps.

sane_flog #

pub package

A sane flutter api logging library.

How to use #

// initialize logger
...
final logger = Logger('<url_of_api_to_log_to>');
...

// enum Level
enum Level {
  INFO,
  DEBUG,
  WARN,
  ERROR
}

// log level <level>
...
await logger.log(Level.<level>, 'homepage', 'popup', 'PopUpHandler', 'popup triggered');
...
2
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Flutter package that allows for ndjson logging for apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http, mongo_dart

More

Packages that depend on sane_flog