
super(framework, deep);
}</BUG>
@Override
public boolean isValidLogEntry(final String line) {
<BUG>if (super.isValidLogEntry(line) && line.contains("write()")) {
</BUG>
return line.contains("Trace") ^ line.contains("Debug") ^ line.contains("Info") ^ line.contains("Warning") ^ line.contains("Error");
} else {
return false;

package org.pmw.benchmark.benchmarks.output;
import org.pmw.benchmark.benchmarks.AbstractBenchmark;
import org.pmw.benchmark.frameworks.Framework;
public abstract class AbstractOutputBenchmark extends AbstractBenchmark {
protected AbstractOutputBenchmark(final Framework framework, final boolean locationInformation, final int deep) {
super(framework, locationInformation, deep);
}
@Override
public boolean isValidLogEntry(final String line) {
if (super.isValidLogEntry(line) && (!locationInformation || line.contains("write()"))) {
return line.contains("Trace") ^ line.contains("Debug") ^ line.contains("Info") ^ line.contains("Warning") ^ line.contains("Error");
} else {
return false;
