Documentation
¶
Index ¶
- Constants
- func Colorf(format string, v ...any)
- func Colorln(v ...any)
- func ConditionalColorf(format string, v ...any)
- func ConditionalColorln(v ...any)
- func ConditionalErrorf(format string, v ...any)
- func ConditionalErrorln(v ...any)
- func ConditionalWarnf(format string, v ...any)
- func ConditionalWarnln(v ...any)
- func Debugf(format string, v ...any)
- func Debugln(v ...any)
- func Errorf(format string, v ...any)
- func Errorln(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
- func SetDebug(active bool)
- func SetOutput(w io.Writer)
- func SetQuietLogging(active bool)
- func Warnf(format string, v ...any)
- func Warnln(v ...any)
Constants ¶
View Source
const ( BOLD_BLACK = "\033[30;1m" BOLD_RED = "\033[31;1m" BOLD_GREEN = "\033[32;1m" BOLD_YELLOW = "\033[33;1m" BOLD_BLUE = "\033[34;1m" BOLD_MAGENTA = "\033[35;1m" BOLD_CYAN = "\033[36;1m" BOLD_WHITE = "\033[37;1m" YELLOW = "\033[0;33m" RESET = "\033[0;m" CLEAR = "\033[0K" )
Variables ¶
This section is empty.
Functions ¶
func ConditionalColorf ¶ added in v1.2.1
func ConditionalColorln ¶ added in v1.2.1
func ConditionalColorln(v ...any)
func ConditionalErrorf ¶ added in v1.2.1
func ConditionalErrorln ¶ added in v1.2.1
func ConditionalErrorln(v ...any)
func ConditionalWarnf ¶ added in v1.2.1
func ConditionalWarnln ¶ added in v1.2.1
func ConditionalWarnln(v ...any)
func SetQuietLogging ¶ added in v1.2.1
func SetQuietLogging(active bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.