Simple and Ideal Logging in Sinatra
问题 I went through few blogs and sites which gave me some information about how to log in sinatra but didnt work for my app and also i went through a gem called sinatra-logger didnt tried it, wanted to know ideal and simple way to "log" in sinatra. Like we do logger.info for rails. The code which i tried and didnt work is from the following site link and also some of SO links were too pointing to the same approach used in the link above. configure do LOGGER = Logger.new("sinatra.log") end helpers