 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ( EnvDebug = "debug" EnvProd = "prod" )
      View Source
      
  
    var Dev = zap.NewDevelopmentConfig()
    
      View Source
      
  
var Prod = zap.NewProductionConfig()
    Functions ¶
Types ¶
type KVLogger ¶
type Logger ¶
type Logger interface {
	Debug(args ...interface{})
	Info(args ...interface{})
	Warn(args ...interface{})
	Error(args ...interface{})
	Fatal(args ...interface{})
	With(keyvals ...interface{}) Logger
}
    type NoopKVLogger ¶
type NoopKVLogger struct {
	logur.NoopKVLogger
}
    func (NoopKVLogger) Fatal ¶
func (l NoopKVLogger) Fatal(msg string, keyvals ...interface{})
func (NoopKVLogger) With ¶
func (l NoopKVLogger) With(keyvals ...interface{}) KVLogger
type NoopLogger ¶
type NoopLogger struct{}
    func (NoopLogger) Debug ¶
func (NoopLogger) Debug(args ...interface{})
func (NoopLogger) Error ¶
func (NoopLogger) Error(args ...interface{})
func (NoopLogger) Fatal ¶
func (NoopLogger) Fatal(args ...interface{})
func (NoopLogger) Info ¶
func (NoopLogger) Info(args ...interface{})
func (NoopLogger) Warn ¶
func (NoopLogger) Warn(args ...interface{})
func (NoopLogger) With ¶
func (l NoopLogger) With(args ...interface{}) Logger
 Click to show internal directories. 
   Click to hide internal directories.