logger

package
v0.0.0-...-065b889 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close :

func Debug

func Debug(a ...interface{})

Debug :

func Debugf

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

Debugf :

func Error

func Error(a ...interface{})

Error :

func Errorf

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

Errorf :

func Fatal

func Fatal(a ...interface{})

Fatal :

func Fatalf

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

Fatalf :

func Info

func Info(a ...interface{})

Info :

func Infof

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

Infof :

func InitLogger

func InitLogger(log *ILogger)

InitLogger :

func Print

func Print(a ...interface{})

Print :

func Printf

func Printf(format string, prm ...interface{})

Printf :

func Println

func Println(a ...interface{})

Println :

func Warn

func Warn(a ...interface{})

Warn :

func Warnf

func Warnf(format string, prm ...interface{})

Warnf :

Types

type ILogger

type ILogger interface {
	Debug(a ...interface{})
	Debugf(format string, prm ...interface{})
	Print(a ...interface{})
	Printf(format string, prm ...interface{})
	Println(a ...interface{})
	Info(a ...interface{})
	Infof(format string, prm ...interface{})
	Warn(a ...interface{})
	Warnf(format string, prm ...interface{})
	Error(a ...interface{})
	Errorf(format string, prm ...interface{})
	Fatal(a ...interface{})
	Fatalf(format string, prm ...interface{})
	Close()
}

ILogger :

func GetLogger

func GetLogger() *ILogger

GetLogger :

func NewEmptyLogger

func NewEmptyLogger() ILogger

NewEmptyLogger :

func NewZapLogger

func NewZapLogger() ILogger

NewZapLogger :

Jump to

Keyboard shortcuts

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