예제 #1
0
 public LogFileWriter(System.Configuration.ApplicationSettingsBase setting, String prefix)
 {
     this.logLevel = (LogLevel)setting[prefix + "logLevel"];
     this.writer = new RollingFileWriter(setting, prefix);
 }
예제 #2
0
 public LogFileWriter(LogLevel logLevel, String dir, String name, String ext, int fileSize, int fileCount)
 {
     this.logLevel = logLevel;
     this.writer = new RollingFileWriter(dir, name, ext, fileSize, fileCount);
 }