Class: Logsly::StdoutOutput
- Inherits:
-
BaseOutput
- Object
- BaseOutput
- Logsly::StdoutOutput
- Defined in:
- lib/logsly/stdout_output.rb
Instance Attribute Summary
Attributes inherited from BaseOutput
Instance Method Summary collapse
Methods inherited from BaseOutput
Constructor Details
This class inherits a constructor from Logsly::BaseOutput
Instance Method Details
#to_appender(*args) ⇒ Object
7 8 9 10 |
# File 'lib/logsly/stdout_output.rb', line 7 def to_appender(*args) data = BaseOutputData.new(*args, &self.build) Logging.appenders.stdout(:layout => self.to_layout(data)) end |