public ConsoleAppender(ILayout layout)
 {
     this.Layout = layout;
     this.ReportLevelThreshold = 0;
     this.logs       = new List <ILog>();
     this.logConsole = new LogConsole();
 }
示例#2
0
 // Construct with a name and a console
 public IMPRINTLog(String Name, ILogConsole Console)
 {
     this.Name = Name;
     this.Console = Console;
 }
示例#3
0
 // Create a log with a name and a console
 public static IMPRINTLog CreateLog(String Name, ILogConsole Console)
 {
     return new IMPRINTLog(Name, Console);
 }