...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/envoy-control-plane/log/default.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/envoy-control-plane/log

     1  package log
     2  
     3  // DefaultLogger is enabled when no consuming clients provide
     4  // a logger to the server/cache subsystem
     5  type DefaultLogger struct {
     6  }
     7  
     8  // NewDefaultLogger creates a DefaultLogger which is a no-op to maintain current functionality
     9  func NewDefaultLogger() *DefaultLogger {
    10  	return &DefaultLogger{}
    11  }
    12  
    13  // Debugf logs a message at level debug on the standard logger.
    14  func (l *DefaultLogger) Debugf(format string, args ...interface{}) {
    15  }
    16  
    17  // Infof logs a message at level info on the standard logger.
    18  func (l *DefaultLogger) Infof(format string, args ...interface{}) {
    19  }
    20  
    21  // Warnf logs a message at level warn on the standard logger.
    22  func (l *DefaultLogger) Warnf(format string, args ...interface{}) {
    23  }
    24  
    25  // Errorf logs a message at level error on the standard logger.
    26  func (l *DefaultLogger) Errorf(format string, args ...interface{}) {
    27  }
    28  

View as plain text