serverpod_logger_plus 0.3.2
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, andCONTRIBUTING.mdwith the canonicalIanHeinrichGitHub owner casing.
0.3.1 #
- Add an
example/demonstrating every built-in writer plus thesession.loggerserver wiring. - Document all writer constructors.
- Shorten the pubspec
descriptionto pub.dev's recommended length.
0.3.0 #
- New
MultiLogWriterthat 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), andOtelJsonLogWriter(OpenTelemetry Logs / OTLP-JSON). - Breaking: replaced
CloudWatchJsonLogWriterwith the provider-neutralGenericJsonLogWriter, 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). SwapCloudWatchJsonLogWriter()forGenericJsonLogWriter().
0.1.0 #
- Initial release.
LoggerPluscore Y-Splitter engine: dual-routes every log call toSession.log(Serverpod Insights) and a pluggableLogWriter(structured JSON / console output).- Zero-boilerplate
session.loggerextension getter, memoized per session, auto-selectingConsoleLogWriterin development and the configured production writer otherwise. - Built-in writers:
GcpJsonLogWriter,CloudWatchJsonLogWriter,DatadogJsonLogWriter,AxiomLogWriter,ConsoleLogWriter. ServerpodLoggerPlus.configurefor global production writer configuration.