Example 10105

Logger Config

Structured logging configuration.

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

output: "/var/log/app.log"
rotation: false
max_size_mb: 255
max_age_days: 24
compress: true
}

See also