Exemplo n.º 1
0
        public LogService(string logFilePath = "")
        {
            _logReaderService = string.IsNullOrEmpty(logFilePath)
                ? new LogReaderService()
                : new LogReaderService(logFilePath);
            _logParserService = new LogParserService();

            _logReaderService.NewLogEntry += LogReaderService_OnNewLogEntry;
        }
Exemplo n.º 2
0
 public Module(IContext context, ILogParserService service)
 {
     this.service = service;
     this.context = context;
     this.Initialize();
 }