log

package
v0.0.0-...-735184e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

func MustConfig

func MustConfig() *Log

func (*Log) Debugf

func (l *Log) Debugf(format string, args ...interface{})

func (*Log) Errorf

func (l *Log) Errorf(format string, args ...interface{})

Errorf prints warning message according to a format

func (*Log) Fatalf

func (l *Log) Fatalf(format string, args ...interface{})

Fatalf prints fatal message according to a format and exits program

func (*Log) Infof

func (l *Log) Infof(format string, args ...interface{})

Infof prints info message according to a format

func (*Log) SetDebug

func (l *Log) SetDebug(d bool)

Jump to

Keyboard shortcuts

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