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.
|
// 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user