logging

package
v0.0.0-...-01830f5 Latest Latest
Warning

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

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

Documentation

Overview

This file Contains the logging functions for the scum program

Index

Constants

View Source
const (
	ColorReset = "\033[0m"

	ColorRed    = "\033[31m"
	ColorGreen  = "\033[32m"
	ColorYellow = "\033[33m"
	ColorBlue   = "\033[34m"
	ColorPurple = "\033[35m"
	ColorCyan   = "\033[36m"
	ColorWhite  = "\033[37m"
)

Define ANSII escape sequences for Color

Variables

This section is empty.

Functions

func LogError

func LogError(msg string)

LogError will log the given message to the Console in Red and with [X] at the start

func LogInfo

func LogInfo(msg string)

func LogSuccess

func LogSuccess(msg string)

LogSuccess will log the given message to the Console in Green and with [*] at the start

func LogWarning

func LogWarning(msg string)

LogWarning will log the given message to the Console in Yellow and with [#] at the start

Types

This section is empty.

Jump to

Keyboard shortcuts

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