package
2.5.1+incompatible
Repository: https://github.com/devspace-sh/devspace.git
Documentation: pkg.go.dev
# Functions
Debug prints debug information.
Debugf prints formatted debug information.
Done prints done information.
Donef prints formatted info information.
Error prints error information.
Errorf prints formatted error information.
Fail prints error information.
Failf prints formatted error information.
Fatal prints fatal error information.
Fatalf prints formatted fatal error information.
GetFileLogger returns a logger instance for the specified filename.
GetInstance returns the Logger instance.
Info prints info information.
Infof prints formatted information.
OverrideRuntimeErrorHandler overrides the standard runtime error handler that logs to stdout with a file logger that logs all runtime.HandleErrors to errors.log.
Panic prints panic information.
Panicf prints formatted panic information.
Print prints information.
Printf prints formatted information.
PrintTable prints a table with header columns and string values.
SetLevel changes the log level of the global logger.
StartFileLogging logs the output of the global logger to the file default.log.
StartWait prints a wait message until StopWait is called.
StopWait stops printing the wait message.
Warn prints warning information.
Warnf prints formatted warning information.
With adds context information to the entry.
WithKey adds context information to the entry.
Write writes to the stdout log without formatting the message, but takes care of locking the log and halting a possible wait message.
WriteColored writes a message in color.
# Structs
DiscardLogger just discards every log statement.
LoggerEntry defines an entry to the logger.
# Interfaces
Logger defines the common logging interface.