lib/fluent/mixin/plaintextformatter.rb in fluent-mixin-plaintextformatter-0.1.0 vs lib/fluent/mixin/plaintextformatter.rb in fluent-mixin-plaintextformatter-0.2.0
- old
+ new
@@ -23,9 +23,10 @@
@field_separator = first_value( conf['field_separator'], @field_separator, 'TAB' )
@f_separator = case @field_separator
when /SPACE/i then ' '
when /COMMA/i then ','
+ when /SOH/i then "\x01"
else "\t"
end
@add_newline = first_value( Fluent::Config.bool_value(conf['add_newline']), @add_newline, true )