Output formatter factory (beyond influxdb/process) #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
OutputUtils is locked to influxdb and process formats only. No way to add new output formats without modifying the class.
Solution
Create an output formatter registry/factory pattern.
Files affected