knowledge_log

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

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