2
0
mirror of synced 2025-01-12 01:24:23 +00:00
2023-11-13 15:11:49 +01:00

32 lines
654 B
C#

namespace Logging
{
public class NullLog : BaseLog
{
public string FullFilename { get; set; } = "NULL";
protected override string GetFullName()
{
return FullFilename;
}
public override void Log(string message)
{
if (IsDebug) base.Log(message);
}
public override void Error(string message)
{
Console.WriteLine("Error: " + message);
base.Error(message);
}
public override void AddStringReplace(string from, string to)
{
}
public override void Delete()
{
}
}
}