Minor log adjustments.

This commit is contained in:
Tom
2025-03-06 16:08:57 +00:00
parent c0a9d62e28
commit ac967dcb1d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)