Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(msg string, args ...Field)
Info(msg string, args ...Field)
Warn(msg string, args ...Field)
Error(msg string, args ...Field)
}
func NewNoOpLogger ¶
func NewNoOpLogger() Logger
type NoOpLogger ¶
type NoOpLogger struct {
}
func (*NoOpLogger) Debug ¶
func (n *NoOpLogger) Debug(msg string, args ...Field)
func (*NoOpLogger) Error ¶
func (n *NoOpLogger) Error(msg string, args ...Field)
func (*NoOpLogger) Info ¶
func (n *NoOpLogger) Info(msg string, args ...Field)
func (*NoOpLogger) Warn ¶
func (n *NoOpLogger) Warn(msg string, args ...Field)
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
func NewZapLogger ¶
Click to show internal directories.
Click to hide internal directories.