public static void EnableDiagnostics()
        {
            var appender = new OutputPaneAppender();
            appender.Layout = new PatternLayout("%date - %thread - %logger - %level - %message%newline");
            appender.ActivateOptions();

            BasicConfigurator.Configure(appender);

            SetLoggingLevel("ALL");

            Log.Info("Diagnostics enabled.");
        }
        public static void EnableDiagnostics()
        {
            var appender = new OutputPaneAppender();

            appender.Layout = new PatternLayout("%date - %thread - %logger - %level - %message%newline");
            appender.ActivateOptions();

            BasicConfigurator.Configure(appender);

            SetLoggingLevel("ALL");

            Log.Info("Diagnostics enabled.");
        }