target_syslog

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyslogTarget

type SyslogTarget struct {
	*log.Filter
	Writer *syslog.Writer
	// contains filtered or unexported fields
}

func NewSyslogTarget

func NewSyslogTarget(prefix string) (*SyslogTarget, error)

func (*SyslogTarget) Close

func (t *SyslogTarget) Close()

func (*SyslogTarget) Open

func (t *SyslogTarget) Open(io.Writer) error

func (*SyslogTarget) Process

func (t *SyslogTarget) Process(e *log.Entry)

Jump to

Keyboard shortcuts

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