logger

package
v0.0.0-...-3e4a122 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultFields

type DefaultFields func(ctx context.Context, fields *map[string]interface{})

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) Init

func (s *ServiceImpl) Init(ctx context.Context) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL