Flogger
A Fluent Logging API for Java
Flogger is a structured logging API for Java that decouples how you log from where logs ultimately go, making it easy to change backends without rewriting application code. Instead of building messages eagerly, it uses lazy parameter evaluation so expensive string building only happens when a log statement is actually emitted. The API encourages structured key–value context and fine-grained rate limiting, which helps keep logs informative without flooding systems during high-traffic or error storms. Handlers (backends) can route the same log record to multiple destinations—console, files, cloud logging—while preserving structured fields for search and alerting. Its fluent style reduces boilerplate and guides developers toward consistent log levels, formatting, and metadata. Because it’s designed for large codebases, Flogger emphasizes performance, binary size discipline, and compatibility with existing logging infrastructures.