Documentation
¶
Index ¶
- func NewLogger(config *logConfig.Config) (logContract.ILog, error)
- type LogSvc
- func (b LogSvc) Debug(ctx context.Context, msg string, fields ...interface{})
- func (b LogSvc) Error(ctx context.Context, msg string, fields ...interface{})
- func (b LogSvc) Info(ctx context.Context, msg string, fields ...interface{})
- func (b LogSvc) Warn(ctx context.Context, msg string, fields ...interface{})
- type SlsSvc
- func (s *SlsSvc) Debug(ctx context.Context, msg string, fields ...interface{})
- func (s *SlsSvc) Error(ctx context.Context, msg string, fields ...interface{})
- func (s *SlsSvc) Info(ctx context.Context, msg string, fields ...interface{})
- func (s *SlsSvc) Warn(ctx context.Context, msg string, fields ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.