ecs-logs: github.com/segmentio/ecs-logs/lib/syslog Index | Files | Directories

package syslog

import "github.com/segmentio/ecs-logs/lib/syslog"

Index

Package Files

init.go writer.go

Constants

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

func DialWriter Uses

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

func NewWriter Uses

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

type WriterConfig Uses

type WriterConfig struct {
    Network    string
    Address    string
    Template   string
    TimeFormat string
    Tag        string
    TLS        *tls.Config
    SocksProxy string
}

Directories

PathSynopsis
pool

Package syslog imports 16 packages (graph) and is imported by 3 packages. Updated 2017-11-03. Refresh now. Tools for package owners.