Sha256: b749dd4444d31155b09543edf9f15f7cfca4c021ca9cf1be561f567f2f949126
Contents?: true
Size: 246 Bytes
Versions: 5
Compression:
Stored size: 246 Bytes
Contents
module DaemonLogger def init_logger return if @logger file = File.open(log_file_path, 'a') file.sync = true @logger = Logger.new(file) @logger.level = Logger::DEBUG end def logger init_logger @logger end end
Version data entries
5 entries across 5 versions & 1 rubygems