Class ConsoleLogFilter

java.lang.Object
hudson.console.ConsoleLogFilter
All Implemented Interfaces:
ExtensionPoint

public abstract class ConsoleLogFilter extends Object implements ExtensionPoint
A hook to allow filtering of information that is written to the console log. Unlike ConsoleAnnotator and ConsoleNote, this class provides direct access to the underlying OutputStream so it's possible to suppress data, which isn't possible from the other interfaces. (ArgumentListBuilder.add(String, boolean) is a simpler way to suppress a single password.)

Implementations which are Serializable may be sent to an agent JVM for processing. In particular, this happens under JEP-210. In this case, the implementation should not assume that JenkinsJVM.isJenkinsJVM(), and if generating ConsoleNotes will need to encode them on the master side first.

Since:
1.383
Author:
dty
See Also: