Class: Imap::Backup::Logger
- Inherits:
-
Object
- Object
- Imap::Backup::Logger
- Includes:
- Singleton
- Defined in:
- lib/imap/backup.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize ⇒ Logger
Returns a new instance of Logger.
30 31 32 |
# File 'lib/imap/backup.rb', line 30 def initialize @logger = ::Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
28 29 30 |
# File 'lib/imap/backup.rb', line 28 def logger @logger end |