Plugin Helper: Formatter
The formatter
plugin helper manages the lifecycle of the formatter plugin.
Here is an example:
For more details, see the following articles:
Methods
formatter_create(usage: "", type: nil, conf: nil, default_type: nil)
formatter_create(usage: "", type: nil, conf: nil, default_type: nil)
usage
: unique name required for multiple formatterstype
: formatter typeconf
: formatter plugin configurationdefault_type
: default formatter type
Examples:
JSON formatter example:
MsgPack formatter example:
Plugins using formatter
formatter
Last updated
Was this helpful?