log

package
v0.0.0-...-4185f46 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CriticalSevStyle = chalk.Bold.NewStyle().WithBackground(chalk.ResetColor).WithForeground(chalk.Red)
View Source
var ErrorStyle = chalk.Bold.NewStyle().WithBackground(chalk.ResetColor).WithForeground(chalk.Red)

ErrorStyle style for decorating ERROR text

View Source
var HighSevStyle = chalk.Bold.NewStyle().WithBackground(chalk.ResetColor).WithForeground(chalk.Yellow)
View Source
var InfoStyle = chalk.Bold.NewStyle().WithBackground(chalk.ResetColor).WithForeground(chalk.Green)

InfoStyle style for decorating INFO text

View Source
var WarnStyle = chalk.Bold.NewStyle().WithBackground(chalk.Yellow).WithForeground(chalk.Black)

WarnStyle style for decorating WARN text

Functions

func Err

func Err(t string, b string)

Err prints a formatted and colored ERROR message

func Info

func Info(t string, b string)

Info prints a formatted and colored INFO message

func Warn

func Warn(t string, b string)

Warn prints a formatted and colored WARN message

Types

This section is empty.

Jump to

Keyboard shortcuts

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