コード例 #1
0
 public DuplicateFilterAppender(ILoggerAppender appender)
 {
     this.appender = appender;
     this.timer = new Timer();
     this.timer.Elapsed += new ElapsedEventHandler(appendLastMessage);
     this.timer.AutoReset = true;
 }
コード例 #2
0
 public DefaultLogger(Type callerDeclaredType, ILoggerAppender appender)
 {
     _callerDeclaredType = callerDeclaredType;
     _appender           = appender;
 }
コード例 #3
0
 public FileLoggerFactory(ILoggerAppender appender, ILoggerFormatter formatter)
 {
     this.appender = appender;
     this.formatter = formatter;
 }
コード例 #4
0
ファイル: Logger.cs プロジェクト: cristianst85/uRADMonitorX
 public Logger(ILoggerAppender appender, ILoggerFormatter formatter)
 {
     this.Appender = appender;
     this.Formatter = formatter;
 }