logUtils

package
v0.0.0-...-cc39e6f Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputFileWriter *os.File
	OutputHttpWriter http.ResponseWriter
	OutputFilePath   string // for excel output
)

Functions

func ConvertUnicode

func ConvertUnicode(str []byte) string

func Info

func Info(str string)

func Infof

func Infof(str string, args ...interface{})

func PrintErrMsg

func PrintErrMsg(msg string)

func PrintExample

func PrintExample()

func PrintLine

func PrintLine(line string)

func PrintRecord

func PrintRecord(str string)

func PrintTo

func PrintTo(str string)

func PrintToFile

func PrintToFile(line string)

func PrintToHttp

func PrintToHttp(line string)

func PrintToScreen

func PrintToScreen(line string)

func PrintToWithColor

func PrintToWithColor(msg string, attr color.Attribute)

func PrintUsage

func PrintUsage()

func PrintVersion

func PrintVersion(appVersion, buildTime, goVersion, gitHash string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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