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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -