public class WarningsParsingLogInterceptor extends Object implements LogMutator, WhitelistedSerializable
Constructor and Description |
---|
WarningsParsingLogInterceptor(File logFile) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
finishCollectingLogs(long consumerId) |
File |
getLogFile() |
LogEntry |
mutate(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
LogEntry |
mutateError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
void |
registerConsumer(long consumerId) |
public WarningsParsingLogInterceptor(@NotNull File logFile) throws IOException
IOException
public LogEntry mutate(@NotNull LogEntry logEntry)
LogMutator
mutate
in interface LogMutator
public LogEntry mutateError(@NotNull LogEntry logEntry)
LogMutator
mutateError
in interface LogMutator
public void registerConsumer(long consumerId)
public void finishCollectingLogs(long consumerId) throws IOException
IOException
public void cleanup()
public File getLogFile()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.