this documentation is inaccurate; the logger is completely unused. remove.

This commit is contained in:
Micah Geisel 2019-05-20 11:52:17 -06:00
parent adf81985ee
commit 83c2a495df

View file

@ -369,17 +369,6 @@ to one of the values specified in the url whitelist like so:
DatabaseCleaner.url_whitelist = ['postgres://postgres@localhost', 'postgres://foo@bar']
```
## Debugging
In rare cases DatabaseCleaner will encounter errors that it will log. By default it uses STDOUT set to the ERROR level but you can configure this to use whatever Logger you desire.
Here's an example of using the `Rails.logger` in `env.rb`:
```ruby
DatabaseCleaner.logger = Rails.logger
```
## COPYRIGHT
See [LICENSE] for details.