internal

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {
	From   serial.String
	To     serial.String
	Status string
	Reason serial.String
}

func (*AccessLog) Release

func (this *AccessLog) Release()

func (*AccessLog) String

func (this *AccessLog) String() string

type ErrorLog

type ErrorLog struct {
	Prefix string
	Values []interface{}
}

func (*ErrorLog) Release

func (this *ErrorLog) Release()

func (*ErrorLog) String

func (this *ErrorLog) String() string

type FileLogWriter

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

func NewFileLogWriter

func NewFileLogWriter(path string) (*FileLogWriter, error)

func (*FileLogWriter) Close

func (this *FileLogWriter) Close()

func (*FileLogWriter) Log

func (this *FileLogWriter) Log(log LogEntry)

type LogEntry

type LogEntry interface {
	common.Releasable
	serial.String
}

type LogWriter

type LogWriter interface {
	Log(LogEntry)
}

func NewStdOutLogWriter

func NewStdOutLogWriter() LogWriter

type NoOpLogWriter

type NoOpLogWriter struct {
}

func (*NoOpLogWriter) Log

func (this *NoOpLogWriter) Log(entry LogEntry)

type StdOutLogWriter

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

func (*StdOutLogWriter) Log

func (this *StdOutLogWriter) Log(log LogEntry)

Jump to

Keyboard shortcuts

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