Sha256: 3ffd3c52a6c88965a97fc0194c8698d0e41b5f1f1c32a30b986e0c1a8f8270cc
Contents?: true
Size: 412 Bytes
Versions: 4
Compression:
Stored size: 412 Bytes
Contents
module Deployinator def self.setup_logging if Deployinator.log_file? $deployinator_log_handle = File.new(Deployinator.log_file, "a") def $stdout.write(string) $deployinator_log_handle.write string super end $stdout.sync = true $stderr.reopen($deployinator_log_handle) puts "Logging #{Deployinator.log_file}" end end end Deployinator.setup_logging
Version data entries
4 entries across 4 versions & 1 rubygems