Documentation ¶
Index ¶
- type DealLogger
- func (d *DealLogger) Errorw(dealId uuid.UUID, errMsg string, kvs ...interface{})
- func (d *DealLogger) Infow(dealId uuid.UUID, msg string, kvs ...interface{})
- func (d *DealLogger) LogCleanup(ctx context.Context, DealLogDurationDays int)
- func (d *DealLogger) LogError(dealId uuid.UUID, errMsg string, err error)
- func (d *DealLogger) Subsystem(name string) *DealLogger
- func (d *DealLogger) Warnw(dealId uuid.UUID, msg string, kvs ...interface{})
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
Click to show internal directories.
Click to hide internal directories.