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

23 lines
538 B
C#

namespace Logging
{
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;
}
}
}