knowledge_log

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert2LogString

func Convert2LogString(object interface{}) string

func LogAccessPB

func LogAccessPB(ctx context.Context, business string, method string, params interface{}, result interface{}, err error, starTimestamp int64)

func LogRpcJson

func LogRpcJson(ctx context.Context, business string, method string, params interface{}, result interface{}, err error, starTimestamp int64)

func LogRpcJsonNoParams

func LogRpcJsonNoParams(business string, method string, err error, starTimestamp int64)

Types

type AccessLog

type AccessLog struct {
}

func (AccessLog) Load

func (c AccessLog) Load() error

func (AccessLog) LoadType

func (c AccessLog) LoadType() string

func (AccessLog) Stop

func (c AccessLog) Stop() error

func (AccessLog) StopPriority

func (c AccessLog) StopPriority() int

type KnowledgeLog

type KnowledgeLog struct {
}

func (KnowledgeLog) Load

func (c KnowledgeLog) Load() error

func (KnowledgeLog) LoadType

func (c KnowledgeLog) LoadType() string

func (KnowledgeLog) Stop

func (c KnowledgeLog) Stop() error

func (KnowledgeLog) StopPriority

func (c KnowledgeLog) StopPriority() int

type RpcLog

type RpcLog struct {
}

func (RpcLog) Load

func (c RpcLog) Load() error

func (RpcLog) LoadType

func (c RpcLog) LoadType() string

func (RpcLog) Stop

func (c RpcLog) Stop() error

func (RpcLog) StopPriority

func (c RpcLog) StopPriority() int

Jump to

Keyboard shortcuts

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