any_logger_json_http 1.1.1
any_logger_json_http: ^1.1.1 copied to clipboard
An extension for any_logger that sends log records as JSON objects over HTTP. Ideal for sending logs to services like Logstash or other custom endpoints.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add any_logger_json_http
With Flutter:
$ flutter pub add any_logger_json_http
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
any_logger_json_http: ^1.1.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:any_logger_json_http/any_logger_json_http.dart';