logging

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvLogLevel        = "STACKCTL_LOG_LEVEL"
	EnvLogFormat       = "STACKCTL_LOG_FORMAT"
	EnvLogFile         = "STACKCTL_LOG_FILE"
	EnvTUIDebugLogFile = "STACKCTL_TUI_DEBUG_LOG_FILE"
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg any, keyvals ...any)

func Enabled

func Enabled() bool

func Error

func Error(msg any, keyvals ...any)

func Info

func Info(msg any, keyvals ...any)

func Logger

func Logger() *charmlog.Logger

func Reset

func Reset()

func ResetForTests

func ResetForTests()

func TUIDebugLogPath

func TUIDebugLogPath() string

func ValidateFormat

func ValidateFormat(value string) error

func ValidateLevel

func ValidateLevel(value string) error

func Warn

func Warn(msg any, keyvals ...any)

func With

func With(keyvals ...any) *charmlog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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