logfield

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActorId

func ActorId(actor lokas.IActorInfo) zap.Field

func ActorInfo

func ActorInfo(actor lokas.IActorInfo) log.ZapFields

func ActorReceiveMsgInfo

func ActorReceiveMsgInfo(actor lokas.IActorInfo, serializable protocol.ISerializable, transid uint32, fromActorId util.ID) log.ZapFields

func ActorRouterMsgInfo

func ActorRouterMsgInfo(serializable protocol.ISerializable, transid uint32, fromActorId util.ID, toActorId util.ID) log.ZapFields

func ActorSendMsgInfo

func ActorSendMsgInfo(actor lokas.IActorInfo, serializable protocol.ISerializable, transid uint32, toActorId util.ID) log.ZapFields

func ActorType

func ActorType(actor lokas.IActorInfo) zap.Field

func Address

func Address(addr string) zap.Field

func DataBase

func DataBase(d string) zap.Field

func Error

func Error(err error) zap.Field

func ErrorCode

func ErrorCode(err protocol.IError) zap.Field

func ErrorInfo

func ErrorInfo(err protocol.IError) []zap.Field

func ErrorMessage

func ErrorMessage(err protocol.IError) zap.Field

func FromActorId

func FromActorId(id util.ID) zap.Field

func FuncClass

func FuncClass(s interface{}) zap.Field

func FuncInfo

func FuncInfo(class interface{}, f string) log.ZapFields

func FuncName

func FuncName(s string) zap.Field

func Key

func Key(key interface{}) zap.Field

func KeyValue

func KeyValue(key interface{}, value interface{}) log.ZapFields

func Module

func Module(s lokas.IModule) zap.Field

func MsgId

func MsgId(serializable protocol.ISerializable) zap.Field

func MsgInfo

func MsgInfo(serializable protocol.ISerializable) log.ZapFields

func MsgName

func MsgName(serializable protocol.ISerializable) zap.Field

func Offset

func Offset(offset int) zap.Field

func Path

func Path(p string) zap.Field

func ProcessId

func ProcessId(actor lokas.IActorInfo) zap.Field

func Result

func Result(s interface{}) zap.Field

func Size

func Size(size int) zap.Field

func Size64

func Size64(size int64) zap.Field

func Success

func Success(success bool) zap.Field

func ToActorId

func ToActorId(id util.ID) zap.Field

func TransId

func TransId(transid uint32) zap.Field

func Type

func Type(t string) zap.Field

func Value

func Value(value interface{}) zap.Field

Types

This section is empty.

Jump to

Keyboard shortcuts

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