module ChefEc2NodeRm::Logging

Public Class Methods

logger() click to toggle source
# File lib/chef_ec2_node_rm/logging.rb, line 7
def self.logger
  @logger ||= Logger.new(@device || STDOUT)
end
logger_device(device) click to toggle source
# File lib/chef_ec2_node_rm/logging.rb, line 15
def self.logger_device(device)
  @device = device
end

Public Instance Methods

logger() click to toggle source
# File lib/chef_ec2_node_rm/logging.rb, line 3
def logger
  Logging.logger
end
logger_device(device) click to toggle source
# File lib/chef_ec2_node_rm/logging.rb, line 11
def logger_device(device)
  Logging.logger_device(device)
end