logging

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CheckError added in v0.0.8

func CheckError(err error)

CheckError logs an error if it is not nil.

func InitLogger

func InitLogger(level zapcore.LevelEnabler)

InitLogger initializes the logger.

func LogProtocolMessage added in v0.0.11

func LogProtocolMessage(msg, source string, msgType interfaces.Stringer, payloads ...interfaces.Serializable)

func LogRecvProtocolMessage added in v0.0.11

func LogRecvProtocolMessage(source string, msgType interfaces.Stringer, payloads ...interfaces.Serializable)

func LogSendProtocolMessage added in v0.0.11

func LogSendProtocolMessage(source string, msgType interfaces.Stringer, payloads ...interfaces.Serializable)

Types

This section is empty.

Jump to

Keyboard shortcuts

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