Module: MARC::AlephSequential::Log

Included in:
ASLine, ASLineGroup, Reader
Defined in:
lib/marc_alephsequential/log.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.logObject


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

def self.log
  @log
end

.log=(log) ⇒ Object


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

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

Instance Method Details

#logObject


14
15
16
17
# File 'lib/marc_alephsequential/log.rb', line 14

def log
  Log.log ||= Yell.new STDERR, :level => [:warn, :error], :name => 'MAS'
  Log.log
end