Module: Datapimp::Logging
- Included in:
- Sync::CloudfrontDistribution, Sync::DropboxFolder, Sync::S3Bucket
- Defined in:
- lib/datapimp/logging.rb
Instance Method Summary collapse
Instance Method Details
#log(*args) ⇒ Object
4 5 6 |
# File 'lib/datapimp/logging.rb', line 4 def log(*args) logger.send(:info, *args) end |
#logger ⇒ Object
12 13 14 |
# File 'lib/datapimp/logging.rb', line 12 def logger @logger ||= Logger.new(STDOUT) end |
#logger=(value) ⇒ Object
8 9 10 |
# File 'lib/datapimp/logging.rb', line 8 def logger= value @logger = value end |