Commit fd989219 authored by 神楽坂玲奈's avatar 神楽坂玲奈

log

parent 4114ad3b
......@@ -4,8 +4,6 @@ require 'logger'
module Log
class << self
attr_accessor :logger
attr_accessor :out
end
self.logger = Logger.new STDERR
self.out = Logger.new STDOUR
end
......@@ -109,7 +109,7 @@ module MSETranslator
end
Log.logger.info("Finished a pack named data#{key}-#{Global.language}.mse-set with following #{clear_data.count} cards:")
clear_data.each {|card| Log.logger.info(YGOCoreJudgers.get_log_str(card))}
Log.out.info "#{key}-#{Global.language}.mse-set"
puts "#{key}-#{Global.language}.mse-set"
end
def generate_mse_all(datas)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment