icclog

package
v0.0.0-...-bd60060 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, a ...interface{})

Debug prints output that is important for development and debugging.

If EnableDebug() was not called, this function is a noop.

func Info

func Info(format string, a ...interface{})

Info prints output that is important for the user.

func IsDebug

func IsDebug() bool

IsDebug returns if debug output is enabled.

func SetDebugLogger

func SetDebugLogger(l *log.Logger)

SetDebugLogger sets the debug logger. The default is no log at all.

This function should only be started at the beginnen of the program before the Debug was called for the frist time.

func SetInfoLogger

func SetInfoLogger(l *log.Logger)

SetInfoLogger sets the Logger for info messages. The default is log.Default()

This function should only be started at the beginnen of the program before the Debug was called for the frist time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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