Class: MailProcessor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mail_processor/base.rb

Direct Known Subclasses

MailDir, Pop3, Processor

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.logObject



13
14
15
16
# File 'lib/mail_processor/base.rb', line 13

def self.log
  #Log4r::Logger["#{self.to_s}"]  || Log4r::Logger.new("#{self.to_s}")
  Log4r::Logger["MailProcessor"]
end

Instance Method Details

#logObject



18
19
20
# File 'lib/mail_processor/base.rb', line 18

def log
  self.class.log
end