Actions
Feature #11695
closedSupport symbol and string for Logger#level=
Description
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
Updated by matz (Yukihiro Matsumoto) about 9 years ago
LGTM.
Matz.
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Open to Assigned
- Assignee changed from sonots (Naotoshi Seo) to nahi (Hiroshi Nakamura)
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Assignee changed from nahi (Hiroshi Nakamura) to sonots (Naotoshi Seo)
Sorry, I didn't read the tweets.
Please update doc/maintainers.rdoc
too.
Updated by sonots (Naotoshi Seo) about 9 years ago
Updated doc/maintainers.rdoc
via https://github.com/sonots/ruby/commit/4c6bd17c8be6917fe3e10dad5d24e5c9a3ef8e2a
Updated by sonots (Naotoshi Seo) about 9 years ago
Committed as r52621
Updated by sonots (Naotoshi Seo) about 9 years ago
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0Like0Like0Like0Like0