25 lines
683 B
C#
Raw Normal View History

2023-09-20 10:51:47 +02:00
using Logging;
namespace DistTestCore.Logs
2023-04-14 14:53:39 +02:00
{
2023-09-12 11:25:04 +02:00
public class FixtureLog : BaseTestLog
2023-04-14 14:53:39 +02:00
{
public FixtureLog(ILog backingLog, string deployId)
: base(backingLog, deployId)
2023-04-14 14:53:39 +02:00
{
}
2025-04-25 15:42:13 +02:00
public TestLog CreateTestLog(DateTime start, string name = "")
2023-04-14 14:53:39 +02:00
{
2025-04-25 15:42:13 +02:00
return TestLog.Create(this, start, name);
2023-04-14 14:53:39 +02:00
}
public static FixtureLog Create(LogConfig config, DateTime start, string deployId, string name = "")
{
var fullName = NameUtils.GetFixtureFullName(config, start, name);
var log = CreateMainLog(fullName, name);
return new FixtureLog(log, deployId);
2023-04-14 14:53:39 +02:00
}
}
}