Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColoredSegment ¶ added in v1.1.0
ColoredSegment represents a text segment with its color
func ErrorSegment ¶ added in v1.1.0
func ErrorSegment(text string) ColoredSegment
func HighlightSegment ¶ added in v1.1.0
func HighlightSegment(text string) ColoredSegment
func InfoSegment ¶ added in v1.1.0
func InfoSegment(text string) ColoredSegment
type Logger ¶
Logger wraps the standard logger with custom formatting
func (*Logger) MultiColor ¶ added in v1.1.0
func (l *Logger) MultiColor(segments ...ColoredSegment)
MultiColor logs a message with multiple color segments
Click to show internal directories.
Click to hide internal directories.