Module: ChefEc2NodeRm::Logging
- Included in:
- Knife, SqsPollers
- Defined in:
- lib/chef_ec2_node_rm/logging.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.logger ⇒ Object
7 8 9 |
# File 'lib/chef_ec2_node_rm/logging.rb', line 7 def self.logger @logger ||= Logger.new(@device || STDOUT) end |
.logger_device(device) ⇒ Object
15 16 17 |
# File 'lib/chef_ec2_node_rm/logging.rb', line 15 def self.logger_device(device) @device = device end |
Instance Method Details
#logger ⇒ Object
3 4 5 |
# File 'lib/chef_ec2_node_rm/logging.rb', line 3 def logger Logging.logger end |
#logger_device(device) ⇒ Object
11 12 13 |
# File 'lib/chef_ec2_node_rm/logging.rb', line 11 def logger_device(device) Logging.logger_device(device) end |