Module: Abril::TaggedSyslog

Includes:
ActiveSupport::TaggedLogging
Defined in:
lib/logger/railtie.rb,
lib/logger/version.rb,
lib/logger/tagged_syslog.rb

Defined Under Namespace

Classes: Railtie

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.new(logger = nil) ⇒ Object



7
8
9
10
# File 'lib/logger/tagged_syslog.rb', line 7

def self.new(logger = nil)
  logger ||= ActiveSupport::TaggedLogging.new(Abril::Syslogger.new)
  logger
end