mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
58065b8701
Without binmode strings with incompatible encoding can't be written in the file. This is very common in applications that log user provided parameters. We need to allow changing the binnary mode because right now it is impossible to use the built-in log rotation feature when you provide a File object to the LogDevice, and if you provide a filename you can't have binmode. https://github.com/ruby/logger/commit/9114b3ac7e |
||
---|---|---|
.. | ||
errors.rb | ||
formatter.rb | ||
log_device.rb | ||
period.rb | ||
severity.rb | ||
version.rb |