logUtils

package
v0.0.0-...-e03c1e8 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoggerExecConsole *zap.Logger
View Source
var LoggerExecFile *zap.Logger
View Source
var LoggerExecResult *zap.Logger
View Source
var LoggerStandard *zap.Logger

Functions

func ConvertUnicode

func ConvertUnicode(str []byte) string

func Error

func Error(str string)

func Errorf

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

func ExecConsole

func ExecConsole(clr color.Attribute, str string)

func ExecConsolef

func ExecConsolef(clr color.Attribute, str string, args ...interface{})

func ExecFile

func ExecFile(str string)

func ExecFilef

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

func ExecResult

func ExecResult(str string)

func Fatal

func Fatal(str string)

func Fatalf

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

func GetLogDir

func GetLogDir(workspacePath string) string

func GetWholeLine

func GetWholeLine(msg string, char string) string

func Info

func Info(str string)

func Infof

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

func InfofIfVerbose

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

func PrintVersion

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

func Warn

func Warn(str string)

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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