logger

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context)

Types

type CLogger added in v0.2.0

type CLogger struct {
	zap.Logger
}

func Logger

func Logger() *CLogger

func (*CLogger) WithCorrelationId added in v0.2.0

func (l *CLogger) WithCorrelationId(correlationId interface{}) *CLogger

type CSugaredLogger added in v0.2.0

type CSugaredLogger struct {
	zap.SugaredLogger
}

func SugaredLogger

func SugaredLogger() *CSugaredLogger

func (*CSugaredLogger) WithCorrelationId added in v0.2.0

func (l *CSugaredLogger) WithCorrelationId(correlationId interface{}) *CSugaredLogger

Jump to

Keyboard shortcuts

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