2
0
mirror of synced 2025-01-14 10:34:26 +00:00
2023-09-01 09:28:04 +02:00

42 lines
815 B
C#

namespace Logging
{
public class NullLog : TestLog
{
public NullLog() : base("NULL", false, "NULL")
{
}
public string FullFilename { get; set; } = "NULL";
protected override string GetFullName()
{
return FullFilename;
}
public override void Log(string message)
{
}
public override void Debug(string message = "", int skipFrames = 0)
{
}
public override void Error(string message)
{
Console.WriteLine("Error: " + message);
}
public override void MarkAsFailed()
{
}
public override void AddStringReplace(string from, string to)
{
}
public override void Delete()
{
}
}
}