Module: ChefAPI::Logger::InstanceMethods

Defined in:
lib/chef-api/logger.rb

Instance Method Summary collapse

Instance Method Details

#logDefaultLogger

Write a message to the logger for this instance’s class.

Returns:



77
78
79
# File 'lib/chef-api/logger.rb', line 77

def log
  @log ||= Logger.logger_for(self.class.name)
end