log

sinatraでログ出力

さくっとログはくには get '/' do logger.info "loading data" # ... end ファイルにログはくには require 'sinatra' configure do # logging is enabled by default in classic style applications, # so `enable :logging` is not needed file = File.new(…