Documentation ¶
Index ¶
Constants ¶
View Source
const ( // JSON ... JSON = "json" // Text ... Text = "text" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Column ¶
type Column string
Column ...
const ( // Timestamp ... Timestamp Column = "timestamp" // Level ... Level Column = "level" // Message ... Message Column = "message" // Application ... Application Column = "application" // Action function, method, etc. Action Column = "action" // Line ... Line Column = "line" // Context thread, session id, or some other execution context. Context Column = "context" // Entity class, struct, etc. Entity Column = "entity" // Error ... Error Column = "error" )
type Mapping ¶
type Mapping struct { Name string `yaml:"-"` Format string `yaml:"format,omitempty"` Priority uint8 `yaml:"priority,omitempty"` PredicatesByField map[string]string `yaml:"predicates,omitempty"` FieldByColumn map[string]string `yaml:"mapping,omitempty"` TemplateByColumn map[string]string `yaml:"display,omitempty"` Fields []string TextPattern *regroup.ReGroup // contains filtered or unexported fields }
Mapping ...
func GuessMapping ¶
GuessMapping ..
Click to show internal directories.
Click to hide internal directories.