debug

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

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(args string)

Types

type Logger

type Logger interface {
	IsDebugEnabled() bool
	IsInfoEnabled() bool
	IsWarnEnabled() bool
	Fatalf(message string, args ...interface{})
	Errorf(message string, args ...interface{})
	Warnf(message string, args ...interface{})
	Infof(message string, args ...interface{})
	Debugf(message string, args ...interface{})
}

func GetLogger

func GetLogger(name string) Logger

type LoggerX

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

func (*LoggerX) Debugf

func (l *LoggerX) Debugf(message string, args ...interface{})

func (*LoggerX) Errorf

func (l *LoggerX) Errorf(message string, args ...interface{})

func (*LoggerX) Fatalf

func (l *LoggerX) Fatalf(message string, args ...interface{})

func (*LoggerX) Infof

func (l *LoggerX) Infof(message string, args ...interface{})

func (*LoggerX) IsDebugEnabled

func (l *LoggerX) IsDebugEnabled() bool

func (*LoggerX) IsInfoEnabled

func (l *LoggerX) IsInfoEnabled() bool

func (*LoggerX) IsWarnEnabled

func (l *LoggerX) IsWarnEnabled() bool

func (*LoggerX) Warnf

func (l *LoggerX) Warnf(message string, args ...interface{})

Jump to

Keyboard shortcuts

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