Back to / lib / syslog

package syslog

Latest Go to latest
Published: Sep 25, 2017 | License: MIT | Module:



const (
	DefaultTemplate = "<{{.PRIVAL}}>{{.TIMESTAMP}} {{.GROUP}}[{{.STREAM}}]: {{.MSG}}"

func DialWriter

func DialWriter(config WriterConfig) (w lib.Writer, err error)

func NewWriter

func NewWriter(group string, stream string) (w lib.Writer, err error)

type WriterConfig

type WriterConfig struct {
	Network    string
	Address    string
	Template   string
	TimeFormat string
	Tag        string
	TLS        *tls.Config
	SocksProxy string
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier