cs-codex-dist-tests/Logging/BaseTestLog.cs

20 lines
373 B
C#
Raw Normal View History

2023-09-12 09:25:04 +00:00
namespace Logging
{
public abstract class BaseTestLog : BaseLog
{
private bool hasFailed;
public BaseTestLog(bool debug)
: base(debug)
{
}
public void MarkAsFailed()
{
if (hasFailed) return;
hasFailed = true;
LogFile.ConcatToFilename("_FAILED");
}
}
}