Example #1
0
 public FileLogWriter(IConfigContainer <IFileConfig> fileConfigContainer, IFileAnalyzer fileAnalyzer,
                      ILogMessageCreator logMessageCreator)
 {
     _fileConfigContainer = fileConfigContainer;
     _fileAnalyzer        = fileAnalyzer;
     _logMessageCreator   = logMessageCreator;
 }
Example #2
0
 public AbstractLogger(ILogMessageCreator messageCreator = null)
 {
     this.messageCreator = messageCreator ?? new DefaultLogMessageCreator();
 }
Example #3
0
 public ConsoleLogWritter(ILogMessageCreator logMessageCreator)
 {
     _logMessageCreator = logMessageCreator;
 }
Example #4
0
 public FileLogger(string filepath, ILogMessageCreator messageCreator = null)
     : base(messageCreator)
 {
     this.filepath = filepath;
 }