logger

package
v0.0.0-...-9bfc92b Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CriticalColor = "\033[0;31m"
View Source
const DrawColor = "\033[96;1m"
View Source
const ErrorColor = "\033[1;31m"
View Source
const InfoColor = "\033[0;32m"
View Source
const NoneColor = "\033[0m"
View Source
const WarningColor = "\033[0;33m"

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func GetLogger

func GetLogger() *Logger

func (*Logger) LogCritical

func (log *Logger) LogCritical(endpoint string, message string, detailes error, exit ...bool)

func (*Logger) LogDraw

func (log *Logger) LogDraw(drawing string)

func (*Logger) LogError

func (log *Logger) LogError(endpoint string, message string, detailes error)

func (*Logger) LogInfo

func (log *Logger) LogInfo(endpoint string, message string)

func (*Logger) LogInit

func (log *Logger) LogInit()

func (*Logger) LogWarning

func (log *Logger) LogWarning(endpoint string, message string, detailes error)

Jump to

Keyboard shortcuts

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