Sha256: 256f77df426654f77b40da7099f9ddfbc3fc84f5de779bff97f44e3519181c7a

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

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

module Fluent
  class Format
    # Format config file
    #
    # @param [IO|String] config_dev
    # @param [Hash] opts
    # @return [String] the formatted config
    def self.format(config_dev, opts = {})
      Fluent::Format::Format.new(config_dev, opts).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

1 entries across 1 versions & 1 rubygems

Version Path
fluent-format-0.3.0 lib/fluent/format.rb