Adjust logging to avoid using tabs

This commit is contained in:
Dean Herbert 2021-12-03 15:35:06 +09:00
parent 9c717ce7ec
commit 2262b7b331
1 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,8 @@ public LegacyTcpIpcProvider()
{
try
{
logger.Add($"Processing legacy IPC message...");
logger.Add($"\t{msg.Value}", LogLevel.Debug);
logger.Add("Processing legacy IPC message...");
logger.Add($" {msg.Value}", LogLevel.Debug);
var legacyData = ((JObject)msg.Value).ToObject<LegacyIpcMessage.Data>();
object value = parseObject((JObject)legacyData!.MessageData, legacyData.MessageType);
@ -64,7 +64,7 @@ private object parseObject(JObject value, string type)
return value.ToObject<LegacyIpcDifficultyCalculationResponse>();
default:
throw new ArgumentException($"Unknown type: {type}");
throw new ArgumentException($"Unsupported object type {type}");
}
}