mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-03 05:53:12 +00:00
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;
|
|
}
|
|
}
|
|
}
|