Log
Structure
Fields
disabled
Disable logging.
level
Log level.
Available values: trace, debug, info, warn, error, fatal, panic.
info is used by default.
output
Log output.
Available values:
| Value | Description |
|---|---|
| Empty | Standard error |
stderr |
Standard error |
stdout |
Standard output |
<path> |
Write to the file at path |
Standard error is used by default.
timestamp
Enable full timestamp in log output.
When enabled, log entries include a full timestamp in the format -0700 2006-01-02 15:04:05.
When disabled, log entries include the relative time since start.