EnableTracing() публичный статический Метод

public static EnableTracing ( string testName, string logBasePath ) : TextWriterTraceListener
testName string
logBasePath string
Результат System.Diagnostics.TextWriterTraceListener
Пример #1
0
        protected TextWriterTraceListener EnableTracing()
        {
            string testName    = GetTestName() + "." + Interlocked.Increment(ref _id);
            string logBasePath = Path.Combine(Directory.GetCurrentDirectory(), "..");

            return(HostedTestFactory.EnableTracing(testName, logBasePath));
        }
Пример #2
0
        protected void EnableTracing()
        {
            string testName    = GetTestName() + "." + Interlocked.Increment(ref _id);
            string logBasePath = Path.Combine(Directory.GetCurrentDirectory(), "..");

            HostedTestFactory.EnableTracing(testName, logBasePath);
        }