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

Plug-and-play structured logging for Serverpod. Routes flattened log messages to Serverpod's session log (Insights) while emitting fully structured JSON to stdout for GCP, AWS CloudWatch, Datadog, and [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart 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.1.0

Alternatively, your editor might support dart 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
0
points
202
downloads

Publisher

verified publisherheinrich.dev

Weekly Downloads

Plug-and-play structured logging for Serverpod. Routes flattened log messages to Serverpod's session log (Insights) while emitting fully structured JSON to stdout for GCP, AWS CloudWatch, Datadog, and Axiom, or a beautiful ANSI console for local development.

Repository (GitHub)
View/report issues

Topics

#serverpod #logging #observability #structured-logging

License

unknown (license)

Dependencies

serverpod

More

Packages that depend on serverpod_logger_plus