module Fluent::Plugin::Newline::Mixin

Constants

DEFAULT_NEWLINE

Public Instance Methods

configure(conf) click to toggle source
Calls superclass method Fluent::Configurable#configure
# File lib/fluent/plugin/formatter.rb, line 63
def configure(conf)
  super
  @newline = case newline
             when :lf
               "\n".freeze
             when :crlf
               "\r\n".freeze
             end
end