Class: Logsly::Outputs::Stdout

Inherits:
Base
  • Object
show all
Defined in:
lib/logsly/outputs.rb

Overview

STDOUT

Instance Attribute Summary

Attributes inherited from Base

#build

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_layout

Constructor Details

This class inherits a constructor from Logsly::Outputs::Base

Instance Method Details

#to_appender(*args) ⇒ Object



82
83
84
85
# File 'lib/logsly/outputs.rb', line 82

def to_appender(*args)
  data = BaseData.new(*args, &self.build)
  Logsly::Logging182.appenders.stdout(:layout => self.to_layout(data))
end