fluentd-ui/app/models/fluentd/setting/formatter_hash.rb
Kenji Okimoto 448b5fd130
Define options for formatter plugins
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-07 17:41:55 +09:00

20 lines
287 B
Ruby

class Fluentd
module Setting
class FormatterHash
include Fluentd::Setting::Plugin
register_plugin("formatter", "hash")
def self.initial_params
{}
end
def common_options
[
:add_newline
]
end
end
end
end