Documentation ¶
Index ¶
- Variables
- func CheckError(err error)
- func InitLogger(level zapcore.LevelEnabler)
- func LogProtocolMessage(msg, source string, msgType interfaces.Stringer, ...)
- func LogRecvProtocolMessage(source string, msgType interfaces.Stringer, ...)
- func LogSendProtocolMessage(source string, msgType interfaces.Stringer, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.SugaredLogger
Functions ¶
func CheckError ¶ added in v0.0.8
func CheckError(err error)
CheckError logs an error if it is not nil.
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.
Click to show internal directories.
Click to hide internal directories.