logspout: github.com/rkorkosz/logspout/adapters/syslog Index | Files

package syslog

import "github.com/rkorkosz/logspout/adapters/syslog"

Index

Package Files

syslog.go

func NewSyslogAdapter Uses

func NewSyslogAdapter(route *router.Route) (router.LogAdapter, error)

type SyslogAdapter Uses

type SyslogAdapter struct {
    // contains filtered or unexported fields
}

func (*SyslogAdapter) Stream Uses

func (a *SyslogAdapter) Stream(logstream chan *router.Message)

type SyslogMessage Uses

type SyslogMessage struct {
    *router.Message
}

func (*SyslogMessage) ContainerName Uses

func (m *SyslogMessage) ContainerName() string

func (*SyslogMessage) Hostname Uses

func (m *SyslogMessage) Hostname() string

func (*SyslogMessage) Priority Uses

func (m *SyslogMessage) Priority() syslog.Priority

func (*SyslogMessage) Render Uses

func (m *SyslogMessage) Render(tmpl *template.Template) ([]byte, error)

func (*SyslogMessage) Timestamp Uses

func (m *SyslogMessage) Timestamp() string

Package syslog imports 10 packages (graph) and is imported by 2 packages. Updated 2018-04-13. Refresh now. Tools for package owners.