log

package
v0.0.0-...-34e61b9 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BLACK_ON_YELLOW         = "\x1b[30;43m"
	BOLD                    = "\x1b[1m"
	BOLD_BLACK_ON_GREY      = "\x1b[1;7;30m"
	BOLD_BLUE               = "\x1b[1;34m"
	BOLD_GREEN              = "\x1b[1;32m"
	BOLD_GREY               = "\x1b[1;30m"
	BOLD_RED                = "\x1b[1;31m"
	BOLD_YELLOW             = "\x1b[1;33m"
	ON_GREEN                = "\x1b[30;42m"
	ON_YELLOW               = "\x1b[30;43m"
	RESET                   = "\x1b[0m"
	WHITE_ON_RED            = "\x1b[1;41m"
	HTML_BLACK_ON_YELLOW    = "<span style=\"background-color:yellow;color:#000\">"
	HTML_BOLD               = "<span style=\"font-weight:bold\">"
	HTML_BOLD_BLACK_ON_GREY = "<span style=\"background-color:#444;color:#000\">"
	HTML_BOLD_BLUE          = "<span style=\"font-weight:bold;color:#008eff\">"
	HTML_BOLD_GREEN         = "<span style=\"font-weight:bold;color:#81d330\">"
	HTML_BOLD_GREY          = "<span style=\"font-weight:bold;color:#444\">"
	HTML_BOLD_RED           = "<span style=\"font-weight:bold;color:red\">"
	HTML_BOLD_YELLOW        = "<span style=\"font-weight:bold;color:yellow\">"
	HTML_ON_GREEN           = "<span style=\"background-color:green;color:#000\">"
	HTML_ON_YELLOW          = "<span style=\"background-color:yellow;color:#000\">"
	HTML_RESET              = "</span>"
	HTML_WHITE_ON_RED       = "<span style=\"font-weight:bold;background-color:red;color:#FFF\">"
)

Variables

This section is empty.

Functions

func ClearConsole

func ClearConsole(ip string)

func Error

func Error(message string)

func Fatal

func Fatal(message string)

func Info

func Info(message string)

func Raw

func Raw(message string)

func Timestamp

func Timestamp() string

func Warn

func Warn(message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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