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

View File

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