log

package module
v0.0.0-...-8d60a69 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2017 License: MIT Imports: 3 Imported by: 36

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Logf     Loggerf
	Logln    Loggerln
	Log      Loggerln
	LogErr   Loggerln
	LogErrf  Loggerf
	LogErrln Loggerln
	Scanf    Loggerf
	Scan     Loggerln
	Scanln   Loggerln
	// contains filtered or unexported fields
}

func New

func New(stdin io.Reader, writers ...io.Writer) *Logger

func (*Logger) Write

func (l *Logger) Write(b []byte) (int, error)

type Loggerf

type Loggerf func(string, ...interface{}) (int, error)

type Loggerln

type Loggerln func(...interface{}) (int, error)

Jump to

Keyboard shortcuts

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