Documentation
¶
Index ¶
Constants ¶
View Source
const LogColorGreen string = "\033[32m"
View Source
const LogColorRed string = "\033[31m"
View Source
const LogColorReset string = "\033[0m"
Variables ¶
This section is empty.
Functions ¶
func CurFuncName ¶
func CurFuncName() string
Types ¶
type LogBuilder ¶
func NewLogBuilder ¶
func NewLogBuilder(header string, isVerbose bool) *LogBuilder
func (*LogBuilder) Add ¶
func (lb *LogBuilder) Add(content string)
func (*LogBuilder) AddAlways ¶ added in v0.0.3
func (lb *LogBuilder) AddAlways(content string)
func (*LogBuilder) AddObject ¶
func (lb *LogBuilder) AddObject(content string, o any)
Click to show internal directories.
Click to hide internal directories.