mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Log lines in REST should have lower case keys
This commit is contained in:
parent
2ae832d919
commit
464e6bec95
@ -319,8 +319,8 @@ type Recorder struct {
|
||||
|
||||
// A Line represents a single log entry.
|
||||
type Line struct {
|
||||
When time.Time
|
||||
Message string
|
||||
When time.Time `json:"when"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
func NewRecorder(l Logger, level LogLevel, size, initial int) *Recorder {
|
||||
|
Loading…
Reference in New Issue
Block a user