log/slog and you want the same records to flow into Squasher.
Installation
Configuration
Create one handler with your Squasher credentials, then build aslog.Logger from it.
main.go
Usage Example
main.go
Flush() call is useful during shutdown paths, CLI commands, and tests.
Custom Attributes
UseWithAttrs() for shared fields and WithGroup() for nested attributes that should stay together.
main.go