[ruby-dev:49353] [Ruby trunk - Feature #11695] Support symbol and string for Logger#level=
From:
nobu@...
Date:
2015-11-16 09:38:33 UTC
List:
ruby-dev #49353
Issue #11695 has been updated by Nobuyoshi Nakada.
Assignee changed from Hiroshi Nakamura to Naotoshi Seo
Sorry, I didn't read the tweets.
Please update `doc/maintainers.rdoc` too.
----------------------------------------
Feature #11695: Support symbol and string for Logger#level=
https://bugs.ruby-lang.org/issues/11695#change-54874
* Author: Naotoshi Seo
* Status: Assigned
* Priority: Normal
* Assignee: Naotoshi Seo
----------------------------------------
Added Logger#level=:symbol and Logger#level=string as we talked at https://twitter.com/frsyuki/status/664862229490089984.
This is useful especially when we configure log_level with yaml (typically, on rails application) like
settings.yml
log_level: DEBUG
and
logger.level = Settings.log_level
The patch is available at https://github.com/ruby/ruby/pull/1101
--
https://bugs.ruby-lang.org/