Change log entry layout to one line for entry
Uses a time first approach very common in logs
Uses local time format instead of Utc
Separates preamble from message with : char
MODIFY
WalletWasabi/Logging/Logger.cs
WalletWasabi/Logging/Logger.cs
@@ -105,7 +105,7 @@ namespace WalletWasabi.Logging
message = string.IsNullOrWhiteSpace(message) ? "" : message;
category = string.IsNullOrWhiteSpace(category) ? "" : category;
- var finalLogMessage = $"{level.ToString().ToUpperInvariant()} {category} {DateTimeOffset.UtcNow}\n{message}{EntrySeparator}";
+ var finalLogMessage = $"{DateTime.UtcNow.ToLocalTime()} {level.ToString().ToUpperInvariant()} {category}: {message}{EntrySeparator}";
lock (Lock)
{

Change log entry layout to one line for entry

- Uses a time first approach very common in logs
- Uses local time format instead of Utc
- Separates preamble from message with : char