Minor log adjustments.
This commit is contained in:
@ -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);
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user