log

package
v0.0.0-...-7dc2af3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel logLevel = iota + 1
	InfoLevel
	ErrorLevel
)

LogLevel map

Variables

This section is empty.

Functions

func Debug

func Debug(msg ...interface{})

Debug is

func Debugf

func Debugf(format string, msg ...interface{})

Debugf is

func Error

func Error(msg ...interface{})

Error is

func Errorf

func Errorf(format string, msg ...interface{})

Errorf is

func Fatal

func Fatal(msg ...interface{})

Fatal is

func Fatalf

func Fatalf(format string, msg ...interface{})

Fatalf is

func Info

func Info(msg ...interface{})

Info is

func Infof

func Infof(format string, msg ...interface{})

Infof is

func New

func New(levelStr string) error

New returns new Logger pointer

Types

type Logger

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

Logger is log client

Jump to

Keyboard shortcuts

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