logger

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 4 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

Debug logging.

func Error added in v1.4.8

func Error(v ...interface{})

Error logging in red.

func Info

func Info(v ...interface{})

Info logging.

func Success

func Success(v ...interface{})

Success logging in green.

func Warn

func Warn(v ...interface{})

Warn logging in yellow.

Types

type Loglevel added in v1.4.11

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

Loglevel represents a Value for different logging configs.

func (*Loglevel) Set added in v1.4.11

func (l *Loglevel) Set(val string) error

Set configures the loglevel for the application.

func (*Loglevel) String added in v1.4.11

func (l *Loglevel) String() string

String represents the default value.

func (*Loglevel) Type added in v1.4.11

func (l *Loglevel) Type() string

Type returns a name for the value type.

Jump to

Keyboard shortcuts

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