Minor log adjustments.
This commit is contained in:
@ -46,7 +46,7 @@ namespace CommonSocketLibrary.Abstract
|
|||||||
var target = FetchMessageType(type);
|
var target = FetchMessageType(type);
|
||||||
if (target == null)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
_types.Add(handler.OperationCode, target);
|
_types.Add(handler.OperationCode, target);
|
||||||
|
@ -38,7 +38,7 @@ namespace CommonSocketLibrary.Common
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
string content = message.Data?.ToString() ?? string.Empty;
|
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);
|
var type = _messageTypeManager.GetMessageTypeByCode(message.OpCode);
|
||||||
if (type == null)
|
if (type == null)
|
||||||
|
Reference in New Issue
Block a user