Module: Logging::Appenders

Defined in:
lib/logging/appenders/rtail.rb

Defined Under Namespace

Classes: Rtail

Class Method Summary collapse

Class Method Details

.rtail(*args) ⇒ Object

Factory for the Rtail appender.



7
8
9
10
# File 'lib/logging/appenders/rtail.rb', line 7

def self.rtail(*args)
  fail ArgumentError, '::Logging::Appenders::Rtail needs a name as first argument.' if args.empty?
  ::Logging::Appenders::Rtail.new(*args)
end