Documentation ¶
Index ¶
- type DefaultLogger
- func (d *DefaultLogger) Debug(ctx context.Context, msg string, keysAndValues ...interface{})
- func (d *DefaultLogger) Error(ctx context.Context, msg string, keysAndValues ...interface{})
- func (d *DefaultLogger) Info(ctx context.Context, msg string, keysAndValues ...interface{})
- func (d *DefaultLogger) Sync()
- func (d *DefaultLogger) Warn(ctx context.Context, msg string, keysAndValues ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
type DefaultLogger struct {
// contains filtered or unexported fields
}
DefaultLogger ...
func (*DefaultLogger) Debug ¶
func (d *DefaultLogger) Debug(ctx context.Context, msg string, keysAndValues ...interface{})
Debug ...
func (*DefaultLogger) Error ¶
func (d *DefaultLogger) Error(ctx context.Context, msg string, keysAndValues ...interface{})
Error ...
type Logger ¶
type Logger interface { Info(ctx context.Context, msg string, keysAndValues ...interface{}) Error(ctx context.Context, msg string, keysAndValues ...interface{}) Debug(ctx context.Context, msg string, keysAndValues ...interface{}) Warn(ctx context.Context, msg string, keysAndValues ...interface{}) Sync() }
Logger ...
Click to show internal directories.
Click to hide internal directories.