private void StartLogger() { Log4NetTestLogger.SetNormalLogging(); Task t = new Task(() => { while (true) { Application.Current.Dispatcher.Invoke(() => Log4NetTestLogger.PrintText("LogLoglOg")); } }); t.Start(); }
private static void Log4NetAsync() { Log4NetTestLogger.SetAsyncLogging(); ThreadedLogging(Log4NetTestLogger.PrintText, "Async Log4Net"); }
private static void Log4Net() { Log4NetTestLogger.SetNormalLogging(); ThreadedLogging(Log4NetTestLogger.PrintText, "Normal Log4Net"); }