Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger logger.Logger
Logger is the global logger instance that can be used throughout the application.
View Source
var StderrLogger logger.Logger
StderrLogger tracks the stderr logger for potential removal in TUI mode.
Functions ¶
func DisableStderrLogger ¶
func DisableStderrLogger()
DisableStderrLogger removes the stderr logger from the MultiLogger. This is useful for TUI mode to prevent log output from interfering with the display.
func InitLogger ¶
InitLogger initializes the global logger with the provided configurations. Each config creates a separate logger, and all are combined into a MultiLogger.
func InitMultiOutputLogger ¶
func InitMultiOutputLogger(cfg MultiOutputConfig)
InitMultiOutputLogger creates a MultiLogger with one logger for stderr and one for a file.
func SetupTestLogger ¶
func SetupTestLogger()
SetupTestLogger configures the global Logger to use a no-op implementation for testing.
Types ¶
Click to show internal directories.
Click to hide internal directories.