builders

package
Version: v0.0.0-...-67b74e3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogBuilder

type LogBuilder struct {
	// contains filtered or unexported fields
}

func NewLogBuilder

func NewLogBuilder(logger *zap.Logger) *LogBuilder

func (*LogBuilder) BuildDebugLog

func (builder *LogBuilder) BuildDebugLog(serviceContext *contracts.MicroServiceContext,
	message string)

func (*LogBuilder) BuildErrorLog

func (builder *LogBuilder) BuildErrorLog(serviceContext *contracts.MicroServiceContext,
	message string,
	err error)

func (*LogBuilder) BuildInfoLog

func (builder *LogBuilder) BuildInfoLog(serviceContext *contracts.MicroServiceContext,
	message string)

func (*LogBuilder) BuildWarnLog

func (builder *LogBuilder) BuildWarnLog(serviceContext *contracts.MicroServiceContext,
	message string)

Source Files

Jump to

Keyboard shortcuts

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