1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Rafael Mendonça França 58065b8701
[ruby/logger] Add option to set the binary mode of the log device
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
2019-07-15 14:43:08 +09:00
..
bundler
cgi
csv
drb
e2mmap
fileutils
forwardable
irb Change PROMPT_S of simple-prompt 2019-07-15 10:29:48 +09:00
logger [ruby/logger] Add option to set the binary mode of the log device 2019-07-15 14:43:08 +09:00
matrix [ruby/matrix] Add Matrix::VERSION constant 2019-07-15 00:32:00 +09:00
net
optparse
racc
rdoc
reline Version 0.0.1 2019-07-15 00:36:59 +09:00
rexml
rinda
rss
rubygems
shell
thwait
tracer
unicode_normalize
uri
webrick
yaml
.document
abbrev.rb
base64.rb
benchmark.rb
bundler.rb
cgi.rb
cmath.gemspec
cmath.rb
csv.rb
debug.rb
delegate.rb
drb.rb
e2mmap.gemspec
e2mmap.rb
English.rb
erb.rb
fileutils.rb
find.rb
forwardable.rb
getoptlong.rb
ipaddr.gemspec
ipaddr.rb
irb.rb Check wether prompt_i is nil 2019-07-15 02:58:28 +09:00
logger.gemspec [ruby/logger] Update logger.gemspec 2019-07-15 14:43:07 +09:00
logger.rb [ruby/logger] Add option to set the binary mode of the log device 2019-07-15 14:43:08 +09:00
matrix.rb [ruby/matrix] Add Matrix::VERSION constant 2019-07-15 00:32:00 +09:00
mkmf.rb
monitor.rb
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.rb The default charset of text/* media type is UTF-8. 2019-07-15 09:36:52 +09:00
open3.rb
optionparser.rb
optparse.rb
ostruct.gemspec
ostruct.rb
pp.rb
prettyprint.rb
prime.gemspec
prime.rb
pstore.rb
racc.rb
rdoc.rb
readline.rb
reline.rb Add class Reline::History and test. 2019-07-15 00:17:59 +09:00
resolv-replace.rb
resolv.rb
rss.rb
rubygems.rb
scanf.gemspec
scanf.rb
securerandom.rb
set.rb
shell.rb
shellwords.rb
singleton.rb
sync.gemspec
sync.rb
tempfile.rb
thwait.rb
time.rb
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb