Class: Chef::Log

Inherits:
Object show all
Extended by:
Mixlib::Log
Defined in:
lib/chef/log.rb

Defined Under Namespace

Classes: Formatter

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.verboseObject

Returns the value of attribute verbose.



28
29
30
# File 'lib/chef/log.rb', line 28

def verbose
  @verbose
end

.verbose_loggerObject (readonly)

Returns the value of attribute verbose_logger.



29
30
31
# File 'lib/chef/log.rb', line 29

def verbose_logger
  @verbose_logger
end

Class Method Details

.method_missing(method_symbol, *args) ⇒ Object



47
48
49
50
# File 'lib/chef/log.rb', line 47

def method_missing(method_symbol, *args)
  self.verbose_logger.send(method_symbol, *args) if self.verbose
  logger.send(method_symbol, *args)
end