Treehouse Quick Tips (HD)

How to Use the Logger in Ruby on Rails


Listen Later

Logging is extremely useful. URL, paramaters, database calls, and other useful information.
There are 5 levels of logging in Ruby on Rails: Debug, Info, Warn, Error, and Fatal.
In production, all logging is set to "Info" level by default. All other levels are set to "Debug"
This video will show you how to add a debug statement to a Rails application.
...more
View all episodesView all episodes
Download on the App Store

Treehouse Quick Tips (HD)By Treehouse

  • 5
  • 5
  • 5
  • 5
  • 5

5

7 ratings