Configuration.dump()
Description
Appends a dump filter to the current pipeline layout.
A dump filter prints out all its input Events to the standard error.
- INPUT - Any types of Events.
- OUTPUT - The same Events from the input.
This filter is different from print() in that:
- It prints out all types of events
- It dumps out Data object in two formats side by side: hexadecimal and text
You can attach extra information to print out along with the events by the tag parameter. It can be any truthy value or a function that returns a truthy value.
This filter passes everything down unaltered. It doesn't change anything in the event stream.
Syntax
pipy().pipeline().dump()pipy().pipeline().dump(tag)pipy().pipeline().dump(() => getTag())
Parameters
dump(tag?)
tag?
A value to be printed along with the dump output, or a function that returns such a value.
Return Value
The same Configuration object.