Log lines in REST should have lower case keys
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user