debug

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleOutput

type ConsoleOutput struct {
}

func (*ConsoleOutput) WriteLog

func (t *ConsoleOutput) WriteLog(log map[string]interface{})

type DatahubOutput

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

func NewDatahubOutput

func NewDatahubOutput(config *recconf.DebugConfig) *DatahubOutput

func (*DatahubOutput) WriteLog

func (t *DatahubOutput) WriteLog(log map[string]interface{})

type DebugService

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

func NewDebugService

func NewDebugService(user *module.User, context *context.RecommendContext) *DebugService

func (*DebugService) WriteFilterLog

func (d *DebugService) WriteFilterLog(user *module.User, items []*module.Item, context *context.RecommendContext)

func (*DebugService) WriteGeneralLog

func (d *DebugService) WriteGeneralLog(user *module.User, items []*module.Item, context *context.RecommendContext)

func (*DebugService) WriteRankLog

func (d *DebugService) WriteRankLog(user *module.User, items []*module.Item, context *context.RecommendContext)

func (*DebugService) WriteRecallLog

func (d *DebugService) WriteRecallLog(user *module.User, items []*module.Item, context *context.RecommendContext)

type EmptyOutput

type EmptyOutput struct {
}

func (*EmptyOutput) WriteLog

func (t *EmptyOutput) WriteLog(log map[string]interface{})

type FileOutput

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

func NewFileOutput

func NewFileOutput(config *recconf.DebugConfig) *FileOutput

func (*FileOutput) WriteLog

func (t *FileOutput) WriteLog(log map[string]interface{})

type LogOutputer

type LogOutputer interface {
	WriteLog(log map[string]interface{})
}

Jump to

Keyboard shortcuts

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