Boost Zerolog Logging Factory
Configures and manages the default Zerolog backend for Go services using the Boost framework.
The Boost Zerolog Factory skill streamlines Go logging by automating Zerolog setup through the Boost ecosystem. It ensures developers use standardized logging abstractions while providing granular control over log levels, output formats like JSON or AWS CloudWatch, and file rotation policies via simple environment variables or configuration files. By integrating with boost.Start(), it eliminates redundant boilerplate code and prevents common pitfalls like manual logger instantiation or improper configuration nesting.
Key Features
01Comprehensive file logging with rotation and compression
02Automatic Zerolog initialization via boost.Start()
03Support for TEXT, JSON, and AWS CloudWatch formatting
04Seamless integration with boost-wrapper-log abstractions
0512 GitHub stars
06Environment variable overrides for dynamic configuration
Use Cases
01Tuning log levels and formats across environments using environment variables
02Standardizing structured JSON logging for cloud-native Go microservices
03Configuring log rotation and retention policies for local file storage