syslog

package
v0.0.0-...-c781833 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(network, raddr string, priority syslog.Priority, app string, lfmt gol.LogFormatter) (l gol.Logger)

New creates a syslog logger whose default severity level is INFO.

Types

type Logger

type Logger struct {
	simple.Logger
	// contains filtered or unexported fields
}

Logger gol's syslog logger.

func (*Logger) Send

func (l *Logger) Send(m *gol.LogMessage) (err error)

Send process log message.

Jump to

Keyboard shortcuts

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