logger

package
v0.11.15 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLogIDKey = LogIDKey("xxl-log-id")
)

Functions

func GetLogPath

func GetLogPath(nowTime time.Time) string

func Info

func Info(logId int64, log string)

func InfoWithContext

func InfoWithContext(ctx context.Context, log string)

func InitLogPath

func InitLogPath(logPath string) error

func ReadLog

func ReadLog(logDateTim, logId int64, fromLineNum int32) (line int32, content string)

Types

type LogIDKey

type LogIDKey string

Jump to

Keyboard shortcuts

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