logger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(msg string)

func Error

func Error(msg string)

Error always prints to stderr regardless of verbose or quiet mode.

func Info

func Info(msg string)

func IsQuiet

func IsQuiet() bool

func IsVerbose

func IsVerbose() bool

func Print

func Print(msg string)

Print outputs a plain (uncolored, unprefixed) operational message. It is suppressed when quiet mode is active, but does not require verbose. Use this for normal runtime messages like "Starting unit: foo".

func Printf

func Printf(format string, args ...interface{})

Printf formats and prints a plain message, suppressed when quiet mode is active.

func SetQuiet

func SetQuiet(q bool)

SetQuiet suppresses all non-error output. Takes precedence over verbose.

func SetVerbose

func SetVerbose(v bool)

func Success

func Success(msg string)

func Warn

func Warn(msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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