mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +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.
|
// A Line represents a single log entry.
|
||||||
type Line struct {
|
type Line struct {
|
||||||
When time.Time
|
When time.Time `json:"when"`
|
||||||
Message string
|
Message string `json:"message"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewRecorder(l Logger, level LogLevel, size, initial int) *Recorder {
|
func NewRecorder(l Logger, level LogLevel, size, initial int) *Recorder {
|
||||||
|
Loading…
Reference in New Issue
Block a user