mirror of
https://github.com/AlexMacocian/WpfExtended.git
synced 2026-07-15 14:59:30 +00:00
15 lines
403 B
C#
15 lines
403 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using WpfExtended.Models;
|
|
|
|
namespace WpfExtended.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}");
|
|
}
|
|
}
|
|
}
|