logger

package
v2.0.30 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: BSD-2-Clause Imports: 8 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Writer  io.Writer
	Unit    string
	Debug   bool
	Verbose bool
}

func (Log) Name

func (Log) Name() string

func (Log) New

func (config Log) New(gopi.Logger) (gopi.Unit, error)

type TestLogger added in v2.0.16

type TestLogger struct {
	Unit string
	T    *testing.T
}

func (TestLogger) Name added in v2.0.16

func (TestLogger) Name() string

func (TestLogger) New added in v2.0.16

func (config TestLogger) New(gopi.Logger) (gopi.Unit, error)

Jump to

Keyboard shortcuts

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