logs

package
v0.0.0-...-c0ffc74 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableLogger

func DisableLogger()

func DisableModule

func DisableModule(name string)

func Print

func Print(args ...interface{})

func Printf

func Printf(format string, args ...interface{})

func Println

func Println(args ...interface{})

func ResetLogger

func ResetLogger()

Types

type Logger

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

func From

func From(id hashname.H) *Logger

func Module

func Module(name string) *Logger

func New

func New(out io.Writer) *Logger

func ResetTimer

func ResetTimer() *Logger

func To

func To(id hashname.H) *Logger

func (*Logger) From

func (l *Logger) From(id hashname.H) *Logger

func (*Logger) Module

func (l *Logger) Module(name string) *Logger

func (*Logger) Print

func (l *Logger) Print(args ...interface{})

func (*Logger) Printf

func (l *Logger) Printf(format string, args ...interface{})

func (*Logger) Println

func (l *Logger) Println(args ...interface{})

func (*Logger) ResetTimer

func (l *Logger) ResetTimer() *Logger

func (*Logger) To

func (l *Logger) To(id hashname.H) *Logger

Jump to

Keyboard shortcuts

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