Example #1
0
        static void InitLog()
        {
            var settings = Settings.Default;
            var log      = new LogOutput(settings.LOG_FILE, settings.LOG_INFO, settings.LOG_WARNING, settings.LOG_ERROR);

            ProgramOutput.RegisterOutput(log);
        }
Example #2
0
        static void EnableConsole()
        {
            var console = new ConsoleOutput();

            ProgramOutput.RegisterOutput(console);
        }