Module: Scopedog

Defined in:
lib/scopedog.rb,
lib/scopedog/railtie.rb,
lib/scopedog/version.rb,
lib/scopedog/record_class.rb

Defined Under Namespace

Modules: Directives, Exporter, Exporters Classes: Error, Railtie, RecordClass

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.loggerObject



6
7
8
# File 'lib/scopedog.rb', line 6

def self.logger
  @logger ||= ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDOUT))
end

.logger=(logger) ⇒ Object



10
11
12
# File 'lib/scopedog.rb', line 10

def self.logger=(logger)
  @logger = logger
end