logger

package
v0.0.2-ros Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	Create(name string) Logger
}

type Logger

type Logger interface {
	Out(bytes []byte)
	Err(bytes []byte)
}

type LoggerWrapper

type LoggerWrapper struct {
	Err    bool
	Logger Logger
}

func (*LoggerWrapper) Write

func (l *LoggerWrapper) Write(bytes []byte) (int, error)

type NullLogger

type NullLogger struct {
}

func (*NullLogger) Create

func (n *NullLogger) Create(_ string) Logger

func (*NullLogger) Err

func (n *NullLogger) Err(_ []byte)

func (*NullLogger) Out

func (n *NullLogger) Out(_ []byte)

Jump to

Keyboard shortcuts

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