That should probably be
```ruby
logger.debug "tags_prefixed: #{tags_prefixed.inspect}" if logger = options[:logger]
```