Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONLog ¶
type JSONLog struct {
// Log contains the log message.
Log string `json:"log"`
// Stream is source, such as stdout or stderr.
Stream string `json:"stream,omitempty"`
// Created is the timestamp.
Created time.Time `json:"time"`
// Attrs is a map extra attributes that will be added to entries.
Attrs map[string]string `json:"attrs,omitempty"`
}
JSONLog is the Docker log message format.
Click to show internal directories.
Click to hide internal directories.