class Fluent::Format::CLI
Public Instance Methods
check()
click to toggle source
# File lib/fluent/format/cli.rb, line 27 def check config = @options[:config] Fluent::Format.check(config, @options) rescue => e $stderr.puts "#{e.class} #{e.message} #{e.backtrace.first}" exit 1 end
format()
click to toggle source
# File lib/fluent/format/cli.rb, line 11 def format config = @options[:config] taputs Fluent::Format.format(config, @options) rescue => e $stderr.puts "#{e.class} #{e.message} #{e.backtrace.first}" exit 1 end
Private Instance Methods
taputs(str)
click to toggle source
# File lib/fluent/format/cli.rb, line 37 def taputs(str) puts str str end