[ruby-core:77467] [Ruby trunk Feature#12803] Improve Logger.new option documentation

From: jasondenney@...
Date: 2016-10-01 21:12:54 UTC
List: ruby-core #77467
Issue #12803 has been reported by Jason Denney.

----------------------------------------
Feature #12803: Improve Logger.new option documentation
https://bugs.ruby-lang.org/issues/12803

* Author: Jason Denney
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Logger.new: http://ruby-doc.org/stdlib-2.3.0/libdoc/logger/rdoc/Logger.html#new-method

From only looking at the docs, it's not obvious what the default value is for Logger.new shift_age or shift_size, nor what value disables the shift_age option. The only way to find out is to look at the code itself.

* Show default value for shift_age
* Show default value for shift_size

See: https://github.com/documenting-ruby/ruby/issues/64 and https://github.com/documenting-ruby/ruby/pull/65.

---Files--------------------------------
0001-Specify-Logger.new-shift_size-default.patch (832 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next