diff --git a/Abstract/HandlerTypeManager.cs b/Abstract/HandlerTypeManager.cs index b395fc3..dfe5aff 100644 --- a/Abstract/HandlerTypeManager.cs +++ b/Abstract/HandlerTypeManager.cs @@ -46,7 +46,7 @@ namespace CommonSocketLibrary.Abstract var target = FetchMessageType(type); if (target == null) { - _logger.Error($"Failed to link websocket handler #{handler.OperationCode} due to no match for {target}."); + _logger.Error($"Failed to link websocket handler #{handler.OperationCode} due to no match for {type.Name}."); continue; } _types.Add(handler.OperationCode, target); diff --git a/Common/WebSocketClient.cs b/Common/WebSocketClient.cs index f1f2e6a..97bb494 100644 --- a/Common/WebSocketClient.cs +++ b/Common/WebSocketClient.cs @@ -38,7 +38,7 @@ namespace CommonSocketLibrary.Common return; string content = message.Data?.ToString() ?? string.Empty; - _logger.Verbose("RX #" + message.OpCode + ": " + content); + _logger.Debug("RX #" + message.OpCode + ": " + content); var type = _messageTypeManager.GetMessageTypeByCode(message.OpCode); if (type == null)