public class TriggeringOutputStream extends LogOutputStream
| Modifier and Type | Method and Description |
|---|---|
TriggeringOutputStream |
andForward(Consumer<String> action) |
TriggeringOutputStream |
andTriggerOn(Pattern pattern,
Consumer<MatchResult> action) |
protected void |
processLine(String line)
Logs a line to the log system of the user.
|
static TriggeringOutputStream |
triggerOn(Pattern pattern,
Consumer<MatchResult> action) |
close, flush, processBuffer, writewrite, writepublic static final TriggeringOutputStream triggerOn(Pattern pattern, Consumer<MatchResult> action)
public final TriggeringOutputStream andTriggerOn(Pattern pattern, Consumer<MatchResult> action)
public final TriggeringOutputStream andForward(Consumer<String> action)
protected void processLine(String line)
LogOutputStreamprocessLine in class LogOutputStreamline - the line to log.Copyright © 2020. All rights reserved.