Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logent ¶
Logent defines a single unique log entry. A unique Logent is defined as a tag, a hostname, a priority name or a regexp.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser handles parsing of regexps to raw syslog messages.
func New ¶
New reads the directory structure pointed to by path for match lists. The name of the file must be the same as the matched syslog tag, eg "cron", "sshd", etc. Each list contains a list of regexes.
Click to show internal directories.
Click to hide internal directories.