Class: LoggerFacade::Plugins::Logstash
- Defined in:
- lib/logger_facade/plugins/logstash.rb
Defined Under Namespace
Classes: LogDeviceWithRotation, LogDeviceWithoutRotation
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(configuration = {}) ⇒ Logstash
constructor
A new instance of Logstash.
Methods inherited from Base
#debug, #error, #info, #is_debug, #trace, #warn
Constructor Details
#initialize(configuration = {}) ⇒ Logstash
Returns a new instance of Logstash.
7 8 9 10 11 |
# File 'lib/logger_facade/plugins/logstash.rb', line 7 def initialize(configuration = {}) super("LoggerFacade::Plugins::Logstash", configuration) fail "Invalid configuration filename: #{config.filename}" unless config.filename end |