Plane.Libraries/Plane/Logging/DebugLogger.cs
2018-08-03 11:43:16 +08:00

28 lines
569 B
C#

using System;
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)); //写入日志
}
public override string ReadLog()
{
return "";
}
}
}