logger

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsPrintOut bool
)

Functions

func Error

func Error(s string, v ...interface{}) (text string)

Error 错误日志输出

func Info

func Info(s string, v ...interface{}) (text string)

Info 普通日志输出

func SetExtender added in v1.0.1

func SetExtender(ext interface{})

Types

type Extender added in v1.0.1

type Extender struct{}

func (*Extender) Record added in v1.0.1

func (p *Extender) Record(level string, text string)

type ILogger added in v1.0.1

type ILogger interface {
	Record(level string, text string)
}

Jump to

Keyboard shortcuts

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