Documentation ¶
Index ¶
- type DefaultFields
- type ServiceImpl
- func (s *ServiceImpl) Close() error
- func (s *ServiceImpl) Error(ctx context.Context, message string, fields ...map[string]interface{})
- func (s *ServiceImpl) Fatal(ctx context.Context, message string, fields ...map[string]interface{})
- func (s *ServiceImpl) Info(ctx context.Context, message string, fields ...map[string]interface{})
- func (s *ServiceImpl) Init(ctx context.Context) error
- func (s *ServiceImpl) ServiceManager() services.ServiceManager
- func (s *ServiceImpl) Warn(ctx context.Context, message string, fields ...map[string]interface{})
- func (s *ServiceImpl) WithDefaultFields(f DefaultFields) *ServiceImpl
- func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFields ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServiceImpl
func (*ServiceImpl) Close ¶
func (s *ServiceImpl) Close() error
func (*ServiceImpl) Error ¶
func (s *ServiceImpl) Error(ctx context.Context, message string, fields ...map[string]interface{})
func (*ServiceImpl) Fatal ¶
func (s *ServiceImpl) Fatal(ctx context.Context, message string, fields ...map[string]interface{})
func (*ServiceImpl) Info ¶
func (s *ServiceImpl) Info(ctx context.Context, message string, fields ...map[string]interface{})
func (*ServiceImpl) ServiceManager ¶
func (s *ServiceImpl) ServiceManager() services.ServiceManager
func (*ServiceImpl) Warn ¶
func (s *ServiceImpl) Warn(ctx context.Context, message string, fields ...map[string]interface{})
func (*ServiceImpl) WithDefaultFields ¶
func (s *ServiceImpl) WithDefaultFields(f DefaultFields) *ServiceImpl
func (*ServiceImpl) WithServiceManager ¶
func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Logger
Click to show internal directories.
Click to hide internal directories.