serverpod_logger_plus 0.1.0
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 [...]
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.