Class: OS::Puppet::Fencing::Log

Inherits:
Object
  • Object
show all
Defined in:
lib/fencing/log.rb

Constant Summary collapse

@@log =
Logger.new(File.open('/etc/puppet/enc/enc-daemon.log', File::WRONLY | File::APPEND | File::CREAT))

Class Method Summary collapse

Class Method Details

.log(message) ⇒ Object



13
14
15
# File 'lib/fencing/log.rb', line 13

def self.log(message)
  @@log.debug message
end