Class: Runpuppet::Logger
- Inherits:
-
Object
- Object
- Runpuppet::Logger
- Defined in:
- lib/runpuppet/logger.rb
Class Method Summary collapse
Class Method Details
.log(msg) ⇒ Object
3 4 5 6 |
# File 'lib/runpuppet/logger.rb', line 3 def self.log(msg) time = Time.now.utc.strftime("%Y-%m-%d %H:%M:%S") puts "#{time}: #{msg}" end |