hemend_async_log_recorder 0.1.0+1 copy "hemend_async_log_recorder: ^0.1.0+1" to clipboard
hemend_async_log_recorder: ^0.1.0+1 copied to clipboard

An Extension to the hemend_logger package that enables asynchronously logging

Hemend Async Logger #

License: MIT pub package pub points code_count code size git repo

The presented software package expands upon the existing functionality of the hemend_logger package, which can be found at https://pub.dev/packages/hemend_logger. This extension enhances the capabilities of the package by introducing asynchronous logging functions that enable the recording of logs using various methods, such as post requests, websockets, files, and more.

At its current state, the package includes built-in support for post request and file logging functionalities, allowing users to seamlessly utilize these mechanisms for recording logs.

File Recorder

Post Recorder

Installation 💻 #

❗ In order to start using Hemend Async Logger you must have the Dart SDK installed on your machine.

Add hemend_async_log_recorder to your pubspec.yaml:

dependencies:
  hemend_async_log_recorder: <latest-version>

Install it:

dart pub get

Usage #

Just add desired logger to the hemend_logger instance and start logging

HemendLogger.defaultLogger()
  ..addListener(
    HemendAsyncLogRecorder.post(postUrl: 'https://<Server>/record'),
  )
  ..addListener(
    HemendAsyncLogRecorder.file(filePath: 'example/test.log'),
  );

Continuous Integration 🤖 #

Hemend Async Logger comes with a built-in GitHub Actions workflow powered by Very Good Workflows but you can also add your preferred CI/CD solution.

Out of the box, on each pull request and push, the CI formats, lints, and tests the code. This ensures the code remains consistent and behaves correctly as you add functionality or make changes. The project uses Very Good Analysis for a strict set of analysis options used by our team. Code coverage is enforced using the Very Good Workflows.

1
likes
0
pub points
21%
popularity

Publisher

verified publisherhemend.com

An Extension to the hemend_logger package that enables asynchronously logging

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

hemend_logger, http

More

Packages that depend on hemend_async_log_recorder