Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + var DefaultConsoleWriter io.Writer = os.Stdout + func GetLogFilePath() string + func GetPanicLogPath() string + func LogPanic(panicValue any, stack string) + type ConsoleOutput struct + func NewConsoleOutput(writer io.Writer, debugMode bool) *ConsoleOutput + func NewDefaultOutput() *ConsoleOutput + func (c *ConsoleOutput) Debug(format string, args ...any) + func (c *ConsoleOutput) DirectiveCD(path string) + func (c *ConsoleOutput) DirectiveRerun(args ...string) + func (c *ConsoleOutput) Error(format string, args ...any) + func (c *ConsoleOutput) Info(format string, args ...any) + func (c *ConsoleOutput) IsQuiet() bool + func (c *ConsoleOutput) Newline() + func (c *ConsoleOutput) Print(content string) + func (c *ConsoleOutput) Println(content string) + func (c *ConsoleOutput) SetQuiet(quiet bool) + func (c *ConsoleOutput) Success(format string, args ...any) + func (c *ConsoleOutput) Tip(format string, args ...any) + func (c *ConsoleOutput) Warn(format string, args ...any) + type FileLogger struct + func NewFileLogger(logFilePath string) (*FileLogger, error) + func (l *FileLogger) Close() error + func (l *FileLogger) Debug(msg string, args ...any) + func (l *FileLogger) Error(msg string, args ...any) + func (l *FileLogger) Info(msg string, args ...any) + func (l *FileLogger) Trace(op string, durationMicros int64, success bool, err error, attrs ...slog.Attr) + func (l *FileLogger) Warn(msg string, args ...any) + type Logger interface + Close func() error + Debug func(msg string, args ...any) + Error func(msg string, args ...any) + Info func(msg string, args ...any) + Trace func(op string, durationMicros int64, success bool, err error, attrs ...slog.Attr) + Warn func(msg string, args ...any) + func NewFileLoggerOrNull(logFilePath string) Logger + type NullLogger struct + func NewNullLogger() *NullLogger + func (l *NullLogger) Close() error + func (l *NullLogger) Debug(_ string, _ ...any) + func (l *NullLogger) Error(_ string, _ ...any) + func (l *NullLogger) Info(_ string, _ ...any) + func (l *NullLogger) Trace(_ string, _ int64, _ bool, _ error, _ ...slog.Attr) + func (l *NullLogger) Warn(_ string, _ ...any) + type NullOutput struct + func NewNullOutput() *NullOutput + func (n *NullOutput) Debug(_ string, _ ...any) + func (n *NullOutput) DirectiveCD(_ string) + func (n *NullOutput) DirectiveRerun(_ ...string) + func (n *NullOutput) Error(_ string, _ ...any) + func (n *NullOutput) Info(_ string, _ ...any) + func (n *NullOutput) IsQuiet() bool + func (n *NullOutput) Newline() + func (n *NullOutput) Print(_ string) + func (n *NullOutput) Println(_ string) + func (n *NullOutput) SetQuiet(_ bool) + func (n *NullOutput) Success(_ string, _ ...any) + func (n *NullOutput) Tip(_ string, _ ...any) + func (n *NullOutput) Warn(_ string, _ ...any) + type Output interface + Debug func(format string, args ...any) + DirectiveCD func(path string) + DirectiveRerun func(args ...string) + Error func(format string, args ...any) + Info func(format string, args ...any) + IsQuiet func() bool + Newline func() + Print func(content string) + Println func(content string) + SetQuiet func(quiet bool) + Success func(format string, args ...any) + Tip func(format string, args ...any) + Warn func(format string, args ...any) + type TestOutput struct + func NewTestOutput() *TestOutput + func (t *TestOutput) Bytes() []byte + func (t *TestOutput) Reset() + func (t *TestOutput) String() string