Package org.jenkinsci.plugins.workflow.log
APIs supporting the production and retrieval of log messages associated with Pipeline builds (
FlowExecutionOwner
) and individual steps (FlowNode
).
Note that the term “step” is used loosely in documentation here to refer to a FlowNode
,
which is only precise in the case of AtomNode
s.
Block-scoped Step
s which use BodyInvoker
can be producing output interleaved with their children,
something the FlowNode.getId()
should track.
- See Also:
- JEP-210
-
Interface Summary Interface Description LogStorage Means of replacing how logs are stored for a Pipeline build as a whole or for one step.LogStorageFactory Factory interface forLogStorage
.OutputStreamTaskListener TaskListenerDecorator.Factory Allows a decorator to be applied to any build. -
Class Summary Class Description BrokenLogStorage Placeholder for storage broken by some kind of access error.ConsoleAnnotators Some utility code extracted fromAnnotatedLargeText
which probably belongs inConsoleAnnotator
orConsoleAnnotationOutputStream
.FileLogStorage Simple implementation of log storage in a single file that maintains a side file with an index indicating where node transitions occur.OutputStreamTaskListener.Default Convenience implementation handlingOutputStreamTaskListener.Default.getLogger()
.TaskListenerDecorator A way of decorating output from aTaskListener
.