colorlog

package
v1.9.12 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package colorlog has various Print functions that can be called to change the color of the text in standard out

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintError

func PrintError(msg interface{})

PrintError prints red colored text to standard out

func PrintErrorAndExit added in v1.8.1

func PrintErrorAndExit(msg interface{})

PrintErrorAndExit prints red colored text to standard out then exits 1

func PrintInfo

func PrintInfo(msg interface{})

PrintInfo prints yellow colored text to standard out

func PrintSubtleInfo

func PrintSubtleInfo(msg interface{})

PrintSubtleInfo prints magenta colored text to standard out

func PrintSuccess

func PrintSuccess(msg interface{})

PrintSuccess prints green colored text to standard out

Types

This section is empty.

Jump to

Keyboard shortcuts

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