예제 #1
0
 public LogConsole(LogConsoleOptions options = null, LogOptions baseOptions = null) : base(baseOptions)
 {
     options = options ?? new LogConsoleOptions();
     if (options.DebugRect != Rectangle.Empty)
     {
         ConsoleUtils.AdjustConsole(options.DebugRect);
     }
 }
예제 #2
0
 public LogConsole(LogConsoleOptions options = null, LogOptions baseOptions = null) : base(baseOptions)
 {
     Console.OutputEncoding = Encoding.UTF8;
     options      = options ?? new LogConsoleOptions();
     extendedMode = ConsoleUtils.EnableVirtualTerminalProcessing();
     if (options.DebugRect != Rectangle.Empty)
     {
         ConsoleUtils.AdjustConsole(options.DebugRect);
     }
 }