public void Test() { var stackTrace = StackTracer.GetCurrentStackTraceInfo(); if (IsDebugEnabled) { log.Debug("Current StackTrace Inforation"); log.Debug(LINE); log.Debug(stackTrace); log.Debug(LINE); } }
public void TestOfCurrentStacks() { log.Debug("Current StackTrace Inforation"); log.Debug(LINE); foreach (string methodCall in StackTracer.GetCurrentStackTraces()) { if (IsDebugEnabled) { log.Debug(methodCall); } } }