serverpod_logger_plus 0.3.2 copy "serverpod_logger_plus: ^0.3.2" to clipboard
serverpod_logger_plus: ^0.3.2 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.

0.3.2 #

  • Align repository URLs in pubspec.yaml, README.md, and CONTRIBUTING.md with the canonical IanHeinrich GitHub owner casing.

0.3.1 #

  • Add an example/ demonstrating every built-in writer plus the session.logger server wiring.
  • Document all writer constructors.
  • Shorten the pubspec description to pub.dev's recommended length.

0.3.0 #

  • New MultiLogWriter that fans a single log call out to several writers, so you can keep a built-in structured-JSON writer and run extra work on top (e.g. an async network push) instead of having to replace the output entirely.

0.2.0 #

  • New writers: ElasticEcsLogWriter (Elastic Common Schema), NewRelicJsonLogWriter (New Relic Logs), SplunkJsonLogWriter (Splunk), and OtelJsonLogWriter (OpenTelemetry Logs / OTLP-JSON).
  • Breaking: replaced CloudWatchJsonLogWriter with the provider-neutral GenericJsonLogWriter, which emits the same flat JSON and now documents the full set of targets it fits (AWS CloudWatch, Azure Monitor / Container Insights, and any agent that indexes arbitrary stdout JSON). Swap CloudWatchJsonLogWriter() for GenericJsonLogWriter().

0.1.0 #

  • Initial release.
  • LoggerPlus core Y-Splitter engine: dual-routes every log call to Session.log (Serverpod Insights) and a pluggable LogWriter (structured JSON / console output).
  • Zero-boilerplate session.logger extension getter, memoized per session, auto-selecting ConsoleLogWriter in development and the configured production writer otherwise.
  • Built-in writers: GcpJsonLogWriter, CloudWatchJsonLogWriter, DatadogJsonLogWriter, AxiomLogWriter, ConsoleLogWriter.
  • ServerpodLoggerPlus.configure for global production writer configuration.
1
likes
0
points
202
downloads

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

Topics

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

License

unknown (license)

Dependencies

serverpod

More

Packages that depend on serverpod_logger_plus