simplelog

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Println(...interface{})
	Print(...interface{})
	Printf(string, ...interface{})
}

Logger interface, log.Logger satisfy this interface

type NoopLogger

type NoopLogger struct{}

NoopLogger is a no-op Logger implementation

func (*NoopLogger) Print

func (n *NoopLogger) Print(...interface{})

Print is a no-op Print implementation

func (*NoopLogger) Printf

func (n *NoopLogger) Printf(string, ...interface{})

Printf is a no-op Printf implementation

func (*NoopLogger) Println

func (n *NoopLogger) Println(...interface{})

Println is a no-op Println implementation

Jump to

Keyboard shortcuts

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