Documentation ¶
Overview ¶
Package logger gives access to the parameters of anonymizing traffic for subsequent logging.
Index ¶
Constants ¶
View Source
const (
CLogFinal = CLogErroDatabaseSet
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILogBuilder ¶ added in v1.5.19
type ILogBuilder interface { ILogGetterFactory WithType(ILogType) ILogBuilder WithSize(int) ILogBuilder WithProof(uint64) ILogBuilder WithHash([]byte) ILogBuilder WithConn(conn.IConn) ILogBuilder WithPubKey(asymmetric.IPubKey) ILogBuilder }
func NewLogBuilder ¶ added in v1.5.19
func NewLogBuilder(pService string) ILogBuilder
type ILogGetter ¶ added in v1.5.19
type ILogGetterFactory ¶ added in v1.5.21
type ILogGetterFactory interface {
Get() ILogGetter
}
type ILogType ¶
type ILogType uint8
const ( // Base (can be in >1 more state) CLogBaseBroadcast ILogType = iota + 1 CLogBaseEnqueueRequest CLogBaseEnqueueResponse CLogBaseGetResponse // INFO CLogInfoExist CLogInfoUndecryptable CLogInfoPassF2FOption CLogInfoWithoutResponse // WARN CLogWarnMessageType CLogWarnMessageNull CLogWarnPayloadNull CLogWarnNotFriend CLogWarnUnknownRoute CLogWarnIncorrectResponse // ERRO CLogErroEncryptPayload CLogErroDatabaseGet CLogErroDatabaseSet )
Click to show internal directories.
Click to hide internal directories.