gtgo_log

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProjectName = "test"
	LogLevel    = logrus.DebugLevel
)

Functions

func LogDebugf

func LogDebugf(format string, args ...interface{})

func LogErrorf

func LogErrorf(format string, args ...interface{})

func LogInfof

func LogInfof(format string, args ...interface{})

Types

type GTLog

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

func Instance added in v1.2.6

func Instance() *GTLog

func (*GTLog) Debugf

func (aLog *GTLog) Debugf(format string, args ...interface{})

func (*GTLog) Errorf

func (aLog *GTLog) Errorf(format string, args ...interface{})

func (*GTLog) Ininfof

func (aLog *GTLog) Ininfof(format string, args ...interface{})

func (*GTLog) Setup added in v1.2.6

func (alog *GTLog) Setup()

Jump to

Keyboard shortcuts

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