21 lines
452 B
C#
21 lines
452 B
C#
|
using System.Diagnostics;
|
|||
|
|
|||
|
namespace Plane.Logging
|
|||
|
{
|
|||
|
public class DebugLogger : Logger
|
|||
|
{
|
|||
|
public DebugLogger()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public DebugLogger(ILogger loggerToDecorate) : base(loggerToDecorate)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
protected override void LogCore(string message, Category category, Priority priority)
|
|||
|
{
|
|||
|
Debug.WriteLine(BuildStandardLogEntry(message, category, priority));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|