Пример #1
0
        static void Main()
        {
            log = new LogConsole();
            var logFile = new LogRollingFile("logfilename", new LogRollingFileOptions
            {
                MaxSizeInKb = 1024
            });

            log.AddPipe(logFile);

            log.LogTitle("Demo");

            log.Info("Hello", Color.Orange);
            log.InfoL(" World", Color.Yellow);
            log.Newline();

            TestExceptionLogging();
        }