log

package
v0.0.0-...-5e392d4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsDebugEnabled bool
	IsInfoEnabled  bool
	IsWarnEnabled  bool
	IsErrorEnabled bool
	IsFatalEnabled bool
)

Functions

func Errorf

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

func Errorln

func Errorln(v ...interface{})

func Fatal

func Fatal(v ...interface{})

/ Fatal

func Fatalf

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

func Fatalln

func Fatalln(v ...interface{})

func GetLogger

func GetLogger() logging.Logger

func Init

func Init()

func InitLogType

func InitLogType(logType string)

func InitLogger

func InitLogger(logType string)

func Log

func Log(param ...string) *logrus.Entry

func NewLogger

func NewLogger(logType string) logging.Logger

func NewTxLogger

func NewTxLogger(file string) gologger.GoLogger

func Panic

func Panic(v ...interface{})

/ Panic

func Panicf

func Panicf(format string, v ...interface{})

func Panicln

func Panicln(v ...interface{})

func Print

func Print(v ...interface{})

func Printf

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

func Println

func Println(v ...interface{})

func Warnf

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

func Warnln

func Warnln(v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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