Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogLevelOrderRelation map[string]int = map[string]int{
"DEBUG": 0,
"INFO": 1,
"WARNING": 2,
"ERROR": 3,
}
Functions ¶
This section is empty.
Types ¶
type LogLine ¶
type LogLine struct { ThreadID string `json:"thread_id"` Time string `json:"time"` Mtime string `json:"mtime"` Level string `json:"level"` Mode string `json:"mode"` Class string `json:"class"` Function string `json:"function"` File string `json:"file"` Line int `json:"line"` Message string `json:"message"` Stack []StackItem `json:"stack"` }
func ParseLogLine ¶
type LogLineArray ¶
type LogLineArray []*LogLine
func (LogLineArray) GetBigestMtime ¶
func (lla LogLineArray) GetBigestMtime() int
func (LogLineArray) GetHighestLogLevel ¶
func (lla LogLineArray) GetHighestLogLevel() string
func (LogLineArray) GetLastMessage ¶
func (lla LogLineArray) GetLastMessage() string
Click to show internal directories.
Click to hide internal directories.