log

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PROGRESS_WIDTH = 40

PROGRESS_WIDTH 进度条长度

Variables

View Source
var IsDebug = false

IsDebug 是否输出调试日志

Functions

func Debug

func Debug(format string, a ...interface{})

Debug 输出调试信息

func DrawProgressBar

func DrawProgressBar(prefix string, val, max int)

DrawProgressBar 显示进度条

func Error

func Error(format string, a ...interface{})

func Fatal

func Fatal(err error)

func Info

func Info(format string, a ...interface{})

func Success

func Success(format string, a ...interface{})

func Warn

func Warn(format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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