23 lines
548 B
C#
23 lines
548 B
C#
namespace DistTestCore.Logs
|
|
{
|
|
public class TestLog : BaseTestLog
|
|
{
|
|
private readonly string methodName;
|
|
private readonly string fullName;
|
|
|
|
public TestLog(string folder, bool debug, string name = "")
|
|
: base(debug)
|
|
{
|
|
methodName = NameUtils.GetTestMethodName(name);
|
|
fullName = Path.Combine(folder, methodName);
|
|
|
|
Log($"*** Begin: {methodName}");
|
|
}
|
|
|
|
protected override string GetFullName()
|
|
{
|
|
return fullName;
|
|
}
|
|
}
|
|
}
|