remote_logging_handlers 0.2.0

  • Readme
  • Changelog
  • Installing
  • 0

remote_logging_handlers #

Native dart package for handlers of the logging package for logz.io and loki.

Performance #

I am not sure if it is wise to use this in production, but it's great during beta testing with a handful of users so you have all logs available.

It tries to stay reasonable performant by batching log entries and sending them off only every few seconds. If network is down it will retry later. (with an ever increasing interval).

Getting Started #

[0.2.0] #

Upgrade DIO to >= 3.0.0

[0.1.0+2] - 2019-04-20 hotfix #

[0.1.0+1] - 2019-04-20 broaden dependencies for 0.x versions. #

[0.1.0] - 2019-04-20 initial release #

  • Initial release with logz.io and loki logging backends.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  remote_logging_handlers: ^0.2.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:remote_logging_handlers/remote_logging_handlers.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

This package is not analyzed, because it is discontinued.

Health issues and suggestions

Document public APIs. (-0.18 points)

69 out of 71 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0