logs

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DealLogger

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

func NewDealLogger

func NewDealLogger(logsDB *db.LogsDB) *DealLogger

func (*DealLogger) Errorw

func (d *DealLogger) Errorw(dealId uuid.UUID, errMsg string, kvs ...interface{})

func (*DealLogger) Infow

func (d *DealLogger) Infow(dealId uuid.UUID, msg string, kvs ...interface{})

func (*DealLogger) LogCleanup added in v1.5.1

func (d *DealLogger) LogCleanup(ctx context.Context, DealLogDurationDays int)

func (*DealLogger) LogError

func (d *DealLogger) LogError(dealId uuid.UUID, errMsg string, err error)

func (*DealLogger) Subsystem

func (d *DealLogger) Subsystem(name string) *DealLogger

func (*DealLogger) Warnw

func (d *DealLogger) Warnw(dealId uuid.UUID, msg string, kvs ...interface{})

Jump to

Keyboard shortcuts

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