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