Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Logger
 - type LoggingHandler
 - type ZapLogger
 - func (l ZapLogger) Debug(msg string, keyAndValues ...interface{})
 - func (l ZapLogger) Error(msg string, keyAndValues ...interface{})
 - func (l ZapLogger) Fatal(msg string, keyAndValues ...interface{})
 - func (l ZapLogger) Info(msg string, keyAndValues ...interface{})
 - func (l ZapLogger) Warn(msg string, keyAndValues ...interface{})
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingHandler ¶
type LoggingHandler struct {
	// contains filtered or unexported fields
}
    func NewLoggingHandler ¶
func NewLoggingHandler(handler http.Handler, logger Logger) *LoggingHandler
func (*LoggingHandler) ServeHTTP ¶
func (h *LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ZapLogger ¶
type ZapLogger struct {
	// contains filtered or unexported fields
}
    func NewZapLogger ¶
 Click to show internal directories. 
   Click to hide internal directories.