serverpod_logger_plus 0.4.0 copy "serverpod_logger_plus: ^0.4.0" to clipboard
serverpod_logger_plus: ^0.4.0 copied to clipboard

Plug-and-play structured logging for Serverpod: dual-routes each log to Serverpod Insights and structured JSON on stdout for GCP, Datadog, Elastic, and more.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add serverpod_logger_plus

With Flutter:

 $ flutter pub add serverpod_logger_plus

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  serverpod_logger_plus: ^0.4.0

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:serverpod_logger_plus/serverpod_logger_plus.dart';
1
likes
160
points
202
downloads

Documentation

API reference

Publisher

verified publisherheinrich.dev

Weekly Downloads

Plug-and-play structured logging for Serverpod: dual-routes each log to Serverpod Insights and structured JSON on stdout for GCP, Datadog, Elastic, and more.

Repository (GitHub)
View/report issues
Contributing

Topics

#serverpod #logging #observability #structured-logging #monitoring

License

MIT (license)

Dependencies

serverpod

More

Packages that depend on serverpod_logger_plus