xlog

package
v0.0.0-...-f6269ad Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoLogger goLogger

Functions

func Init

func Init()

func SetFlags

func SetFlags(flag int)

SetFlags 设置日志标识

func SetLogPath

func SetLogPath(dir string)

SetLogPath dir路径为绝对路径,最后一个/为文件名 dir路径为相对路径,在当前目录下,最后一个/为文件名

func SetPrefix

func SetPrefix(prefix string)

SetPrefix 设置log前缀

Types

This section is empty.

Jump to

Keyboard shortcuts

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