Sha256: 0d118f4e97518c37ace1f0f8a21fbb8030de7d90b51900381fcd983c709c8003

Contents?: true

Size: 517 Bytes

Versions: 3

Compression:

Stored size: 517 Bytes

Contents

$log = Fluent::Log.new($stderr, Fluent::Log::LEVEL_WARN)

module Fluent
  class Format
    # Format config file
    #
    # @param [IO|String] config_dev
    # @return [String] the formatted config
    def self.format(config_dev)
      Fluent::Format::Format.new(config_dev).run
    end

    # Check config file
    #
    # @param [IO|String] config_dev
    # @param [Hash] opts
    # @return [Boolean]
    def self.check(config_dev, opts = {})
      Fluent::Format::Check.new(config_dev, opts).run
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-format-0.2.6 lib/fluent/format.rb
fluent-format-0.2.5 lib/fluent/format.rb
fluent-format-0.2.4 lib/fluent/format.rb