Module: Logging::Appenders

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

Defined Under Namespace

Classes: LogentriesLogging

Class Method Summary collapse

Class Method Details

.logentries_logging(*args) ⇒ Object

Accessor / Factory for the Logentries appender.



10
11
12
13
# File 'lib/logging/appenders/logentries_logging.rb', line 10

def self.logentries_logging( *args )
  return ::Logging::Appenders::LogentriesLogging if args.empty?
  ::Logging::Appenders::LogentriesLogging.new(*args)
end