logger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFoundError = leveldb_errors.ErrNotFound
)
View Source
var (
	Writer io.Writer = os.Stdout
)

Functions

func Debug

func Debug(uuid uuid.UUID, message string)

func Debugf

func Debugf(uuid uuid.UUID, format string, args ...interface{})

func Error

func Error(uuid uuid.UUID, message string)

func Errorf

func Errorf(uuid uuid.UUID, format string, args ...interface{})

func Info

func Info(uuid uuid.UUID, message string)

func Infof

func Infof(uuid uuid.UUID, format string, args ...interface{})

Types

type ReadOptions added in v0.2.0

type ReadOptions = opt.ReadOptions

type Store added in v0.2.0

type Store interface {
	Get(key []byte, ro *ReadOptions) (value []byte, err error)
	Has(key []byte, ro *ReadOptions) (ret bool, err error)
	Put(key, value []byte, wo *WriteOptions) error
	Close() error
}

type WriteOptions added in v0.2.0

type WriteOptions = opt.WriteOptions

Directories

Path Synopsis
Package mock_logger is a generated GoMock package.
Package mock_logger is a generated GoMock package.

Jump to

Keyboard shortcuts

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