logger

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, args ...any)

func Error

func Error(format string, args ...any)

func Execute

func Execute(msg string)

func Info

func Info(format string, args ...any)

func SetDebug

func SetDebug(debug bool)

func SetPrefix

func SetPrefix(prefix string)

func SetQuiet

func SetQuiet(quiet bool)

Disables info messages

func SetQuieter

func SetQuieter(quiet bool)

Disables commands output

func ShowExecutedCommands

func ShowExecutedCommands(showCommands bool)

func Stderr

func Stderr() io.Writer

Stderr returns os.Stderr or os.DevNull depending on the verbosity level

func Stdin

func Stdin() *os.File

Stdin returns os.Stdin

func Stdout

func Stdout() io.Writer

Stdout returns os.Stdout or os.DevNull depending on the verbosity level

func Warning

func Warning(format string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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