lib/codesake/commons/logging.rb in codesake_commons-0.67.0 vs lib/codesake/commons/logging.rb in codesake_commons-0.70.0
- old
+ new
@@ -47,10 +47,10 @@
end
def helo(msg, pid_file = nil)
STDOUT.printf "[*] #{msg} at #{Time.now.strftime("%H:%M:%S")}\n".color(:white)
send_to_syslog(msg, :helo)
- create_pid_file(pid_file) unless pid_file.nil?
+ Codesake::Commons::Io.create_pid_file(pid_file) unless pid_file.nil?
end
def toggle_silence
@silencer = ! @silencer
@verbose = ! @silencer