Project

General

Profile

Actions

Feature #12803

closed

Improve Logger.new option documentation

Added by spacemunkay (Jason Denney) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:77467]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0