jetlog 1.0.0 copy "jetlog: ^1.0.0" to clipboard
jetlog: ^1.0.0 copied to clipboard

Compact and robust structured logger for Dart. This library provides a strongly typed APIs for logging records with structured data.

jetlog · Test Status Code Coveraege #

Fast, structured, leveled logging for Dart.

jetlog's API is designed to provide great development experience without losing performance. jetlog allows to format logging records into different representations and supports formatting to JSON and text out of the box.

There are a couple of features developer may benefit from:

  • Blazing fast logging
  • Efficient logging of structured data (with support to lazy evaluation)
  • Unambiguous support for loggers hierarchy
  • Exchangeable logging handlers
  • Logging filters

Installation #

To get mostly up to date package install it through pub.

pub get jetlog

Getting started #

The easiest way to get up and running is to use global logger provided in global_logger package library.

import 'package:jetlog/global_logger.dart' as logger;
import 'package:jetlog/jetlog.dart' as log show Str;

void main() async {
  logger.bind({
    const log.Str('hello', 'world')
  }).info('Greeting');
}

// => '2019-06-27 15:37:38.046859 [INFO]: Greeting hello=world'

License #

Released under the MIT license.

4
likes
130
pub points
47%
popularity

Publisher

verified publishervanesyan.com

Compact and robust structured logger for Dart. This library provides a strongly typed APIs for logging records with structured data.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on jetlog