log

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(content string, e error)

自定义操作失败提示

func Handle

func Handle(pattern string)

日志输出路由地址

func Info

func Info(r *http.Request)

日志输出请求基本信息

func Listen

func Listen(addr string)

日志输出监听端口提示

func ParseError

func ParseError(e error)

转化文件失败

func ParseSuccess

func ParseSuccess()

转化文件成功

func Println

func Println(a ...any)

日志基本输出功能

func ReadError

func ReadError(e error)

读取文件失败

func ReadSuccess

func ReadSuccess()

读取文件成功

func Success

func Success(content string)

自定义操作成功提示

func WriteError

func WriteError(e error)

写入文件失败

func WriteSuccess

func WriteSuccess()

写入文件成功

Types

This section is empty.

Jump to

Keyboard shortcuts

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