Module: Firetail

Defined in:
lib/firetail.rb,
lib/firetail/version.rb,
lib/generators/firetail/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Error, Run

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.loggerObject



236
237
238
# File 'lib/firetail.rb', line 236

def self.logger
  @@logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



240
241
242
# File 'lib/firetail.rb', line 240

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