Sha256: ba1cf30060b16b50f0525da47264e1d6c636c7941270910f951836f7366fc066
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 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 [String] plugin_dir the plugin directory # @return [Boolean] def self.check(config_dev, plugin_dir = nil) Fluent::Format::Check.new(config_dev, plugin_dir).run end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-format-0.2.1 | lib/fluent/format.rb |
fluent-format-0.2.0 | lib/fluent/format.rb |