public class CommonLogFormatHandlerImpl extends Object implements OutputHandler<String>
String
output handler.
It uses a Common Log Format Parser to process the output.Constructor and Description |
---|
CommonLogFormatHandlerImpl(Parser parser,
com.google.common.eventbus.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
process(String line)
Processes a log line and generates a
CommonLogFormatEntry . |
@Inject public CommonLogFormatHandlerImpl(@NonNull Parser parser, @NonNull com.google.common.eventbus.EventBus eventBus)
public void process(String line)
CommonLogFormatEntry
.process
in interface OutputHandler<String>
line
- The log line from the log file.Copyright © 2019. All rights reserved.