Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextLogger ¶
type ContextLogger struct {
// contains filtered or unexported fields
}
func NewContextLogger ¶
func NewContextLogger(l Logger) *ContextLogger
type ContextLoggerMiddleware ¶
type ContextLoggerMiddleware struct {
// contains filtered or unexported fields
}
func NewContextLoggerMiddleware ¶
func NewContextLoggerMiddleware(l *ContextLogger) *ContextLoggerMiddleware
type LoggerConfig ¶
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
func NewMockLogger ¶
func NewMockLogger() *MockLogger
func (*MockLogger) Error ¶
func (l *MockLogger) Error(msg string, params map[string]interface{})
func (*MockLogger) Log ¶
func (l *MockLogger) Log(msg string, params map[string]interface{})
func (*MockLogger) String ¶
func (l *MockLogger) String() string
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
func NewZapLogger ¶
func NewZapLogger(cfgs []LoggerConfig) *ZapLogger
Click to show internal directories.
Click to hide internal directories.