mileszs/wicked_pdf — pull request #183 by zewelor (2013-01-30 10:18:04+00:00)
Title: Check if logger isn't nil

When we got config.action_controller.logger set to nil to prevent logging we get error
```ruby
undefined method `info' for nil:NilClass
```
which is caused by
```ruby
def log_pdf_creation
logger.info '*'*15 + 'WICKED' + '*'*15
end
```