lib/daemon_logger.rb in game-server-0.2.4 vs lib/daemon_logger.rb in game-server-0.3.0

- old
+ new

@@ -3,9 +3,11 @@ return if @logger file = File.open(log_file_path, 'a') file.sync = true @logger = Logger.new(file) @logger.level = Logger::DEBUG + @logger.formatter = Formatter.new + @logger.datetime_format = "%y-%m-%d %H:%M:%S.%L" end def logger init_logger @logger