Class WarningsParsingLogInterceptor

    • Constructor Detail

      • WarningsParsingLogInterceptor

        public WarningsParsingLogInterceptor​(@NotNull
                                             @NotNull File logFile)
                                      throws IOException
        Throws:
        IOException
    • Method Detail

      • mutate

        public LogEntry mutate​(@NotNull
                               @NotNull LogEntry logEntry)
        Description copied from interface: LogMutator
        Method invoked whenever a new log entry is logged
        Specified by:
        mutate in interface LogMutator
      • mutateError

        public LogEntry mutateError​(@NotNull
                                    @NotNull LogEntry logEntry)
        Description copied from interface: LogMutator
        Method invoked whenever a new error log entry is logged
        Specified by:
        mutateError in interface LogMutator
      • registerConsumer

        public void registerConsumer​(long consumerId)
      • finishCollectingLogs

        public void finishCollectingLogs​(long consumerId)
                                  throws IOException
        Throws:
        IOException
      • cleanup

        public void cleanup()
      • getLogFile

        public File getLogFile()