clog

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = iota
	InfoLevel
	WarningLevel
	ErrorLevel
)

LogLevel

Variables

This section is empty.

Functions

func Colorize

func Colorize(colorize bool)

Colorize activate of deactivate colouring

func Debug

func Debug(v ...interface{})

Debug sends debugging information

func Debugf

func Debugf(format string, v ...interface{})

Debugf sends debugging information

func Error

func Error(v ...interface{})

Error sends error information to the console

func Errorf

func Errorf(format string, v ...interface{})

Errorf sends error information to the console

func Info

func Info(v ...interface{})

Info logs some noticeable information

func Infof

func Infof(format string, v ...interface{})

Infof logs some noticeable information

func Quiet

func Quiet()

Quiet will only display warnings and errors

func SetTheme

func SetTheme(theme string)

SetTheme sets the dark or light theme

func Verbose

func Verbose()

Verbose will display debugging information

func Warning

func Warning(v ...interface{})

Warning send some important message to the console

func Warningf

func Warningf(format string, v ...interface{})

Warningf send some important message to the console

Types

This section is empty.

Jump to

Keyboard shortcuts

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