Class: Imap::Backup::Logger

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/imap/backup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLogger

Returns a new instance of Logger.



31
32
33
# File 'lib/imap/backup.rb', line 31

def initialize
  @logger = ::Logger.new($stdout)
end

Instance Attribute Details

#loggerObject (readonly)

Returns the value of attribute logger.



29
30
31
# File 'lib/imap/backup.rb', line 29

def logger
  @logger
end