syslog

package
v0.0.0-...-1fdd781 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2016 License: MIT Imports: 10 Imported by: 0

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

type SyslogMessage struct {
	*router.Message
}

func (*SyslogMessage) ContainerName

func (m *SyslogMessage) ContainerName() string

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) Timestamp

func (m *SyslogMessage) Timestamp() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL