Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Sep 15, 2016
1 parent f776eda commit 093deff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/installation/rails_on_heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ If your Rails app is on Heroku, you'll want to take advantage of the Heroku logp
Add timber to your Gemfile:

```
gem 'timber-ruby'
gem 'timberio'
```

## 2. Add the logger to your environment files:

```ruby
# config/environments/production.rb (or staging, etc)
config.logger = Timber::Logger.new(Timber::LogDevices::HerokuLogplex.new))
config.logger = Timber::Logger.new(Timber::LogDevices::HerokuLogplex.new)
```

* Awesome note: by default, Timber uses a log format that enriches your logs without changing how the look in your terminal! Try it out with `heroku logs --tail`.
Expand Down

0 comments on commit 093deff

Please sign in to comment.