ruby - Does Sinatra have a logger like in Rails? -


this question has answer here:

i'd have simple logger have in rails. log requests parameters. can's figure out how this. thanks.

try

configure   enable :logging end 

see http://www.sinatrarb.com/intro.html#logging


Comments