INFOϩάΛೖΕΔϝϦοτ • ʮ͜ͷϝιουԿΛ͢Δͷ͔ʯΛݟ͢ػձʹͳΔ class Player # ๆଧͪͰ߈ܸ͢Δ def mineuchi @message = "҆৺͠Ζɺๆଧͪ͡Ό" ... if ... logger.info("ఢ#{name}Λࡴ͠·ͨ͠") ... end Fluentd Meetup in Matsue (2016-07-30) 41
ྫ֎Λه͢Δ • ERRORϩάͷදྫ • ҎԼςϯϓϨ begin MyProgram.new.main rescue Exception => ex LOGGER.error("#{ex.class}: #{ex.message}") ex.backtrace.each do |line| LOGGER.error(line) end raise ex end Fluentd Meetup in Matsue (2016-07-30) 63