Module: VagrantBindfs::Vagrant::Actions::Concerns::Log
Overview
:nodoc:
Instance Method Summary collapse
- #debug(message) ⇒ Object
- #detail(message) ⇒ Object
- #error(message) ⇒ Object
- #info(message) ⇒ Object
- #logger ⇒ Object
- #warn(message) ⇒ Object
Instance Method Details
#debug(message) ⇒ Object
12 13 14 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 12 def debug() logger.detail() if config.debug end |
#detail(message) ⇒ Object
16 17 18 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 16 def detail() logger.detail() end |
#error(message) ⇒ Object
28 29 30 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 28 def error() logger.error end |
#info(message) ⇒ Object
20 21 22 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 20 def info() logger.info end |
#logger ⇒ Object
8 9 10 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 8 def logger env[:ui] end |
#warn(message) ⇒ Object
24 25 26 |
# File 'lib/vagrant-bindfs/vagrant/actions/concerns/log.rb', line 24 def warn() logger.warn end |