Sha256: c251de58449388fa56b6ebb0ee5695d64447b4149817012dc1e74d9322beeb64

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

require 'logging'
require 'logsly/base_output'

module Logsly

  class StdoutOutput < BaseOutput
    def to_appender(*args)
      data = BaseOutputData.new(*args, &self.build)
      Logging.appenders.stdout(:layout => self.to_layout(data))
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logsly-1.1.0 lib/logsly/stdout_output.rb
logsly-1.0.2 lib/logsly/stdout_output.rb
logsly-1.0.1 lib/logsly/stdout_output.rb
logsly-1.0.0 lib/logsly/stdout_output.rb
logsly-1.0.0.rc1 lib/logsly/stdout_output.rb