2
0
mirror of synced 2025-01-11 00:56:05 +00:00

44 lines
860 B
C#
Raw Normal View History

2023-06-22 10:17:12 +02:00
using Logging;
namespace CodexNetDeployer
{
public class NullLog : TestLog
{
public NullLog() : base("NULL", false, "NULL")
{
}
protected override LogFile CreateLogFile()
{
return null!;
}
public override void Log(string message)
{
2023-06-22 14:37:37 +02:00
//Console.WriteLine(message);
2023-06-22 10:17:12 +02:00
}
public override void Debug(string message = "", int skipFrames = 0)
{
2023-06-22 14:37:37 +02:00
//Console.WriteLine(message);
2023-06-22 10:17:12 +02:00
}
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()
{
}
}
}