logs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DateTimeFormatStr = "2006-01-02 15:04:05"

Variables

View Source
var IsDebugPrint = true
View Source
var IsPrintLog = true

Functions

func Fatal

func Fatal(v ...interface{})

func PrintDebug

func PrintDebug(v ...interface{})

func PrintDebugErr

func PrintDebugErr(v ...interface{})

func PrintErr

func PrintErr(v ...interface{})

func Println

func Println(v ...interface{})

这个包用来统一的日志输出处理 目前只做简单两个方法 后续根据具体需要在这里增加日志操作

func PrintlnInfo

func PrintlnInfo(v ...interface{})

func PrintlnSuccess

func PrintlnSuccess(v ...interface{})

func PrintlnWarning

func PrintlnWarning(v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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