r_logger 0.3.0 copy "r_logger: ^0.3.0" to clipboard
r_logger: ^0.3.0 copied to clipboard

A Flutter logger plugin, it can write log message in the file and print large message in console.

example/main.dart

import 'package:r_logger/r_logger.dart';

void main() {
  RLogger.initLogger(filePath: "");

  RLogger.instance?.d('Debug Hello World!');

  RLogger.instance?.i('Info Hello World!');

  RLogger.instance?.j('{"msg":"ok"}');

  RLogger.instance?.e('your have a error', 'error object', StackTrace.current);

  RLogger.instance?.listen((data) {
// logger data
  });
}
4
likes
140
points
110
downloads

Publisher

verified publisherrhyme95.cn

Weekly Downloads

A Flutter logger plugin, it can write log message in the file and print large message in console.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on r_logger