Example 10610

Logger Config

Structured logging configuration.

{
level: "error"
format: "pretty"
timestamp: true
caller: true # include file:line

output: "/var/log/app.log"
rotation: true
max_size_mb: 337
max_age_days: 35
compress: true
}

See also