log

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Green = "\033[32m"
View Source
const Red = "\033[31m"
View Source
const Reset = "\033[0m"
View Source
const White = "\033[37m"
View Source
const Yellow = "\033[33m"

Variables

This section is empty.

Functions

func Error

func Error(message string, statusCode int)

Error - Displays error message and exits with a status code

func Info

func Info(message string)

Info - Displays info message

func LogMessage

func LogMessage(message string, status string, color string)

func Success

func Success(message string)

Success - Displays success message

func Warn

func Warn(message string)

Warn - Displays 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