Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSyslogAdapter ¶
func NewSyslogAdapter(route *router.Route) (router.LogAdapter, error)
Types ¶
type SyslogAdapter ¶
type SyslogAdapter struct {
// contains filtered or unexported fields
}
func (*SyslogAdapter) Stream ¶
func (a *SyslogAdapter) Stream(logstream chan *router.Message)
type SyslogMessage ¶
func (*SyslogMessage) Hostname ¶
func (m *SyslogMessage) Hostname() string
func (*SyslogMessage) Priority ¶
func (m *SyslogMessage) Priority() syslog.Priority
func (*SyslogMessage) Render ¶
func (m *SyslogMessage) Render(tmpl *template.Template) ([]byte, error)
func (*SyslogMessage) TagName ¶
func (m *SyslogMessage) TagName() string
func (*SyslogMessage) Timestamp ¶
func (m *SyslogMessage) Timestamp() string
Click to show internal directories.
Click to hide internal directories.