docs: Update log.md (#69)

This commit is contained in:
Razon Yang 2020-07-29 21:31:13 +08:00 committed by GitHub
parent c7b4ed30c7
commit ad7e68cbe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,9 +100,9 @@ format <encoder_module> {
}
```
- **message_key** The key for the message field of the log entry. Default: `message`
- **message_key** The key for the message field of the log entry. Default: `msg`
- **level_key** The key for the level field of the log entry. Default: `level`
- **time_key** The key for the time field of the log entry. Default: `time`
- **time_key** The key for the time field of the log entry. Default: `ts`
- **name_key** The key for the name field of the log entry (i.e. the name of the logger itself). Default: `name`
- **caller_key** The key for the caller field of the log entry.
- **stacktrace_key** The key for the stacktrace field of the log entry.