Sha256: ae2443f8d0821aa91e6907dbf3adebc790acc2cd5fcdb397ca6980c00d8f2b3b
Contents?: true
Size: 614 Bytes
Versions: 20
Compression:
Stored size: 614 Bytes
Contents
class Fluentd module Setting class OutStdout include Common KEYS = [:match, :output_type].freeze attr_accessor(*KEYS) choice :output_type, %w(json hash) validates :match, presence: true validates :output_type, inclusion: { in: %w(json hash) } def self.initial_params { match: "debug.**", output_type: "json", } end def common_options [ :match, :output_type ] end def advanced_options [] end def plugin_name "stdout" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems