Module: Af::Logging

Included in:
Application
Defined in:
lib/fiksu-af/logging/configurator.rb,
lib/fiksu-af/logging.rb

Defined Under Namespace

Classes: Configurator

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
# File 'lib/fiksu-af/logging.rb', line 2

def self.included(base)
  Configurator.singleton
end

Instance Method Details

#logger(logger_name = :default) ⇒ Object



6
7
8
# File 'lib/fiksu-af/logging.rb', line 6

def logger(logger_name = :default)
  return Configurator.singleton.logger(logger_name)
end

#logging_configuratorObject



10
11
12
# File 'lib/fiksu-af/logging.rb', line 10

def logging_configurator
  return Configurator.singleton
end