Skip to content

Commit 2f9cb0d

Browse files
committed
Fix Logger usage
1 parent 16f36c1 commit 2f9cb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ To override the default behavior and control the destination of log messages, pr
174174
a ruby Logger object to the gem's logging singleton:
175175

176176
```ruby
177-
OneLogin::RubySaml::Logging.logger = Logger.new(File.open('/var/log/ruby-saml.log', 'w'))
177+
OneLogin::RubySaml::Logging.logger = Logger.new('/var/log/ruby-saml.log')
178178
```
179179

180180
## The Initialization Phase

0 commit comments

Comments
 (0)