Documentation ¶
Index ¶
- type CombinedLogger
- func (c *CombinedLogger) Debug(args ...interface{})
- func (c *CombinedLogger) Debugf(format string, args ...interface{})
- func (c *CombinedLogger) Done(args ...interface{})
- func (c *CombinedLogger) Donef(format string, args ...interface{})
- func (c *CombinedLogger) Error(args ...interface{})
- func (c *CombinedLogger) ErrorStreamOnly() logLib.Logger
- func (c *CombinedLogger) Errorf(format string, args ...interface{})
- func (c *CombinedLogger) Fatal(args ...interface{})
- func (c *CombinedLogger) Fatalf(format string, args ...interface{})
- func (c *CombinedLogger) GetLevel() logrus.Level
- func (c *CombinedLogger) Info(args ...interface{})
- func (c *CombinedLogger) Infof(format string, args ...interface{})
- func (c *CombinedLogger) LogrLogSink() logr.LogSink
- func (c *CombinedLogger) Print(level logrus.Level, args ...interface{})
- func (c *CombinedLogger) Printf(level logrus.Level, format string, args ...interface{})
- func (c *CombinedLogger) Question(params *survey.QuestionOptions) (string, error)
- func (c *CombinedLogger) SetLevel(level logrus.Level)
- func (c *CombinedLogger) Warn(args ...interface{})
- func (c *CombinedLogger) Warnf(format string, args ...interface{})
- func (c *CombinedLogger) WriteString(level logrus.Level, message string)
- func (c *CombinedLogger) Writer(level logrus.Level, raw bool) io.WriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedLogger ¶ added in v0.6.4
type CombinedLogger struct {
// contains filtered or unexported fields
}
CombinedLogger implements the Logger interface and delegates logging to multiple loggers
func NewCombinedLogger ¶ added in v0.6.4
func NewCombinedLogger(level logrus.Level, loggers ...logLib.Logger) *CombinedLogger
NewCombinedLogger creates a new CombinedLogger
func (*CombinedLogger) Debug ¶ added in v0.6.4
func (c *CombinedLogger) Debug(args ...interface{})
func (*CombinedLogger) Debugf ¶ added in v0.6.4
func (c *CombinedLogger) Debugf(format string, args ...interface{})
func (*CombinedLogger) Done ¶ added in v0.6.4
func (c *CombinedLogger) Done(args ...interface{})
func (*CombinedLogger) Donef ¶ added in v0.6.4
func (c *CombinedLogger) Donef(format string, args ...interface{})
func (*CombinedLogger) Error ¶ added in v0.6.4
func (c *CombinedLogger) Error(args ...interface{})
func (*CombinedLogger) ErrorStreamOnly ¶ added in v0.6.4
func (c *CombinedLogger) ErrorStreamOnly() logLib.Logger
func (*CombinedLogger) Errorf ¶ added in v0.6.4
func (c *CombinedLogger) Errorf(format string, args ...interface{})
func (*CombinedLogger) Fatal ¶ added in v0.6.4
func (c *CombinedLogger) Fatal(args ...interface{})
func (*CombinedLogger) Fatalf ¶ added in v0.6.4
func (c *CombinedLogger) Fatalf(format string, args ...interface{})
func (*CombinedLogger) GetLevel ¶ added in v0.6.4
func (c *CombinedLogger) GetLevel() logrus.Level
func (*CombinedLogger) Info ¶ added in v0.6.4
func (c *CombinedLogger) Info(args ...interface{})
func (*CombinedLogger) Infof ¶ added in v0.6.4
func (c *CombinedLogger) Infof(format string, args ...interface{})
func (*CombinedLogger) LogrLogSink ¶ added in v0.6.4
func (c *CombinedLogger) LogrLogSink() logr.LogSink
func (*CombinedLogger) Print ¶ added in v0.6.4
func (c *CombinedLogger) Print(level logrus.Level, args ...interface{})
func (*CombinedLogger) Printf ¶ added in v0.6.4
func (c *CombinedLogger) Printf(level logrus.Level, format string, args ...interface{})
func (*CombinedLogger) Question ¶ added in v0.6.4
func (c *CombinedLogger) Question(params *survey.QuestionOptions) (string, error)
func (*CombinedLogger) SetLevel ¶ added in v0.6.4
func (c *CombinedLogger) SetLevel(level logrus.Level)
func (*CombinedLogger) Warn ¶ added in v0.6.4
func (c *CombinedLogger) Warn(args ...interface{})
func (*CombinedLogger) Warnf ¶ added in v0.6.4
func (c *CombinedLogger) Warnf(format string, args ...interface{})
func (*CombinedLogger) WriteString ¶ added in v0.6.4
func (c *CombinedLogger) WriteString(level logrus.Level, message string)
func (*CombinedLogger) Writer ¶ added in v0.6.4
func (c *CombinedLogger) Writer(level logrus.Level, raw bool) io.WriteCloser
Click to show internal directories.
Click to hide internal directories.