logger

package
v0.1.0-beta.27 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogDir = flag.String("log-dir", "", "specify the log directory")

LogDir 日志目录

Functions

func FatalLog

func FatalLog(v ...any)

FatalLog 系统错误日志

func SetupGinLog

func SetupGinLog()

SetupGinLog 设置gin日志

func SysError

func SysError(s string)

SysError 系统错误日志

func SysLog

func SysLog(s string)

SysLog 系统日志

Types

This section is empty.

Jump to

Keyboard shortcuts

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