mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-15 14:19:29 +00:00
e6a06915cd
Codestyle fixes Setup CODEOWNERS Setup dependabot
12 lines
328 B
C#
12 lines
328 B
C#
using System.Diagnostics;
|
|
|
|
namespace System.Logging;
|
|
|
|
public sealed class DebugLogsWriter : ILogsWriter
|
|
{
|
|
public void WriteLog(Log log)
|
|
{
|
|
Debug.WriteLine($"{log.LogTime} - {log.Category} - {log.EventId} - {log.CorrelationVector} - {log.LogLevel} - {log.Message}{Environment.NewLine}{log.Exception}");
|
|
}
|
|
}
|