Example 16505

Logger Config

Structured logging configuration.

{
level: "debug"
format: "json"
timestamp: true
caller: true # include file:line

output: "/var/log/app.log"
rotation: true
max_size_mb: 437
max_age_days: 87
compress: true
}

See also