std

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(format string, s ...interface{})

蓝色字体

func BlueBG

func BlueBG(format string, s ...interface{})

蓝色字体

func ColorLog

func ColorLog(lev string, format string, s ...interface{}) string

ColorLog

func Cyan

func Cyan(format string, s ...interface{})

蓝绿色

func CyanBG

func CyanBG(format string, s ...interface{})

蓝绿色背景色

func Debug

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

func Error

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

func Fatal

func Fatal(format string, s ...interface{}) string

func Green

func Green(format string, s ...interface{})

绿色字体

func GreenBG

func GreenBG(format string, s ...interface{})

绿色字体

func Info

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

Info

func Magenta

func Magenta(format string, s ...interface{})

品红字体

func MagentaBG

func MagentaBG(format string, s ...interface{})

品红字体

func NewStdLogger

func NewStdLogger(w io.Writer) log.Logger

NewStdLogger new a logger with writer.

func Red

func Red(format string, s ...interface{})

红色字体

func RedBG

func RedBG(format string, s ...interface{})

红色字体

func SBlue

func SBlue(format string, s ...interface{}) string

蓝色字体

func SBlueBG

func SBlueBG(format string, s ...interface{}) string

蓝色字体

func SCyan

func SCyan(format string, s ...interface{}) string

蓝绿色

func SCyanBG

func SCyanBG(format string, s ...interface{}) string

蓝绿色背景色

func SGreen

func SGreen(format string, s ...interface{}) string

绿色字体

func SGreenBG

func SGreenBG(format string, s ...interface{}) string

绿色字体

func SMagenta

func SMagenta(format string, s ...interface{}) string

品红字体

func SMagentaBG

func SMagentaBG(format string, s ...interface{}) string

品红字体

func SRed

func SRed(format string, s ...interface{}) string

红色字体

func SRedBG

func SRedBG(format string, s ...interface{}) string

红色字体

func SWhite

func SWhite(format string, s ...interface{}) string

白色字体

func SWhiteBG

func SWhiteBG(format string, s ...interface{}) string

白色字体

func SYellow

func SYellow(format string, s ...interface{}) string

黄色字体

func SYellowBG

func SYellowBG(format string, s ...interface{}) string

黄色字体

func Timestamp

func Timestamp(format string, s ...interface{}) string

func Warn

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

func White

func White(format string, s ...interface{})

白色字体

func WhiteBG

func WhiteBG(format string, s ...interface{})

白色字体

func Yellow

func Yellow(format string, s ...interface{})

黄色字体

func YellowBG

func YellowBG(format string, s ...interface{})

黄色字体

Types

This section is empty.

Jump to

Keyboard shortcuts

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