logmaster 0.1.1

  • README.md
  • Installing
  • Versions
  • 0


A logger intended to catch exceptions or simply report activity, then post it to a server or store locally fo further inspection.

The idea is that catching errors and forming error messages is separate from actually reporting them. By loading report-adapters on demand, we can use this library both in the backend and in the frontend.

Use this package as a library

1. Depend on it

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

  logmaster: ^0.1.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:

import 'package:logmaster/logmaster.dart';
Version Uploaded Documentation Archive
0.1.1 Dec 17, 2016 Go to the documentation of logmaster 0.1.1 Download logmaster 0.1.1 archive
0.1.0 May 20, 2016 Go to the documentation of logmaster 0.1.0 Download logmaster 0.1.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Health issues and suggestions

Document public APIs (-9.64 points)

27 out of 28 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Fix lib/logmaster.dart. (-0.50 points)

Analysis of lib/logmaster.dart reported 1 hint:

line 2 col 8: Unused import: 'dart:async'.

Format lib/report_adapters/console_report_adapter.dart.

Run dartfmt to format lib/report_adapters/console_report_adapter.dart.

Format lib/report_adapters/http_report_adapter.dart.

Run dartfmt to format lib/report_adapters/http_report_adapter.dart.

Format lib/report_adapters/logfile_report_adapter.dart.

Run dartfmt to format lib/report_adapters/logfile_report_adapter.dart.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

Package is getting outdated. (-96.44 points)

The package was released 102 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use logmaster.dart.

The description is too long. (-10 points)

Search engines will display only the first part of the description. Try to keep it under 180 characters.


Package Constraint Resolved Available
Dev dependencies
test >=0.12.0