log

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2016 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level uint8
const (
	Debug Level = iota
	Info
	Notice
	Warning
	Error
)

type Logger

type Logger interface {
	Debug(m string) (err error)
	Err(m string) (err error)
	Info(m string) (err error)
	Notice(m string) (err error)
	Warning(m string) (err error)
}

type Syslog

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

func NewSyslog

func NewSyslog(l Level) (*Syslog, error)

func (*Syslog) Debug

func (r *Syslog) Debug(m string) (err error)

func (*Syslog) Err

func (r *Syslog) Err(m string) (err error)

func (*Syslog) Info

func (r *Syslog) Info(m string) (err error)

func (*Syslog) Notice

func (r *Syslog) Notice(m string) (err error)

func (*Syslog) Warning

func (r *Syslog) Warning(m string) (err error)

Jump to

Keyboard shortcuts

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