Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(context.Context, ...interface{}) Info(context.Context, ...interface{}) Warn(context.Context, ...interface{}) Error(context.Context, ...interface{}) }
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type LoggerProxy ¶
func NewLoggerProxy ¶
func NewLoggerProxy(logLevel Level, logger Logger) *LoggerProxy
func (*LoggerProxy) Debug ¶
func (p *LoggerProxy) Debug(ctx context.Context, args ...interface{})
func (*LoggerProxy) Error ¶
func (p *LoggerProxy) Error(ctx context.Context, args ...interface{})
func (*LoggerProxy) Info ¶
func (p *LoggerProxy) Info(ctx context.Context, args ...interface{})
func (*LoggerProxy) Warn ¶
func (p *LoggerProxy) Warn(ctx context.Context, args ...interface{})
Click to show internal directories.
Click to hide internal directories.