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