log

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoggerConfig = loggerConfig{EnableColor: true, Writer: os.Stdout}

Functions

This section is empty.

Types

type Level

type Level int
const (
	Info Level
	Warn
	Error
)

type Logger

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

func NewLogger

func NewLogger(name string) *Logger

func (*Logger) Error

func (l *Logger) Error(message ...interface{})

func (*Logger) Info

func (l *Logger) Info(message ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(message ...interface{})

Jump to

Keyboard shortcuts

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