Class: Logsly::Outputs::File
Overview
FILE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Logsly::Outputs::Base
Instance Method Details
#data(*args) ⇒ Object
103 104 105 |
# File 'lib/logsly/outputs.rb', line 103 def data(*args) FileData.new(*args, &self.build) end |
#to_appender(data) ⇒ Object
107 108 109 |
# File 'lib/logsly/outputs.rb', line 107 def to_appender(data) Logsly::Logging182.appenders.file(data.path, :layout => self.to_layout(data)) end |