Documentation ¶
Index ¶
- Variables
- func ConnectFileToVerboseLogOutput(filePath string) (close func(), err error)
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func GetLevel() logrus.Level
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func NewSpinner(message string, a ...any) (start func(), stop func(), s *spinner.Spinner)
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type LoggerWriters
Constants ¶
This section is empty.
Variables ¶
View Source
var VerboseLogger = (*logrus.Logger)(nil)
View Source
var VerboseLoggerOutputs = (*LoggerWriters)(nil)
Functions ¶
func NewSpinner ¶ added in v0.0.22
Types ¶
type LoggerWriters ¶
type LoggerWriters struct {
// contains filtered or unexported fields
}
func NewLoggerOutputs ¶
func NewLoggerOutputs(logger *logrus.Logger) *LoggerWriters
func (*LoggerWriters) Add ¶
func (lw *LoggerWriters) Add(w io.Writer)
func (*LoggerWriters) Remove ¶
func (lw *LoggerWriters) Remove(w io.Writer)
func (*LoggerWriters) Set ¶
func (lw *LoggerWriters) Set()
Click to show internal directories.
Click to hide internal directories.