* [ruby-core:71250] [Ruby trunk - Feature #11633] [Open] NilLogger class
[not found] <redmine.issue-11633.20151028151429@ruby-lang.org>
@ 2015-10-28 15:14 ` hannes.nevalainen
2015-11-18 2:56 ` [ruby-core:71541] [Ruby trunk - Feature #11633] [Assigned] " naruse
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: hannes.nevalainen @ 2015-10-28 15:14 UTC (permalink / raw)
To: ruby-core
Issue #11633 has been reported by Hannes Nevalainen.
----------------------------------------
Feature #11633: NilLogger class
https://bugs.ruby-lang.org/issues/11633
* Author: Hannes Nevalainen
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
I'd like to have a NilLogger class in ruby which have the same api as the stdlib Logger object, but where all logging methods is just noop:s.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:71541] [Ruby trunk - Feature #11633] [Assigned] NilLogger class
[not found] <redmine.issue-11633.20151028151429@ruby-lang.org>
2015-10-28 15:14 ` [ruby-core:71250] [Ruby trunk - Feature #11633] [Open] NilLogger class hannes.nevalainen
@ 2015-11-18 2:56 ` naruse
2015-11-18 8:46 ` [ruby-core:71544] [Ruby trunk - Feature #11633] " sonots
2016-04-10 14:07 ` [ruby-core:74867] [Ruby trunk Feature#11633][Closed] " sonots
3 siblings, 0 replies; 4+ messages in thread
From: naruse @ 2015-11-18 2:56 UTC (permalink / raw)
To: ruby-core
Issue #11633 has been updated by Yui NARUSE.
Status changed from Open to Assigned
Assignee set to Naotoshi Seo
----------------------------------------
Feature #11633: NilLogger class
https://bugs.ruby-lang.org/issues/11633#change-54919
* Author: Hannes Nevalainen
* Status: Assigned
* Priority: Normal
* Assignee: Naotoshi Seo
----------------------------------------
I'd like to have a NilLogger class in ruby which have the same api as the stdlib Logger object, but where all logging methods is just noop:s.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:71544] [Ruby trunk - Feature #11633] NilLogger class
[not found] <redmine.issue-11633.20151028151429@ruby-lang.org>
2015-10-28 15:14 ` [ruby-core:71250] [Ruby trunk - Feature #11633] [Open] NilLogger class hannes.nevalainen
2015-11-18 2:56 ` [ruby-core:71541] [Ruby trunk - Feature #11633] [Assigned] " naruse
@ 2015-11-18 8:46 ` sonots
2016-04-10 14:07 ` [ruby-core:74867] [Ruby trunk Feature#11633][Closed] " sonots
3 siblings, 0 replies; 4+ messages in thread
From: sonots @ 2015-11-18 8:46 UTC (permalink / raw)
To: ruby-core
Issue #11633 has been updated by Naotoshi Seo.
```
logger = Logger.new(nil)
logger.fatal { 'foo' } # no print
```
Is this not enough?
----------------------------------------
Feature #11633: NilLogger class
https://bugs.ruby-lang.org/issues/11633#change-54920
* Author: Hannes Nevalainen
* Status: Assigned
* Priority: Normal
* Assignee: Naotoshi Seo
----------------------------------------
I'd like to have a NilLogger class in ruby which have the same api as the stdlib Logger object, but where all logging methods is just noop:s.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:74867] [Ruby trunk Feature#11633][Closed] NilLogger class
[not found] <redmine.issue-11633.20151028151429@ruby-lang.org>
` (2 preceding siblings ...)
2015-11-18 8:46 ` [ruby-core:71544] [Ruby trunk - Feature #11633] " sonots
@ 2016-04-10 14:07 ` sonots
3 siblings, 0 replies; 4+ messages in thread
From: sonots @ 2016-04-10 14:07 UTC (permalink / raw)
To: ruby-core
Issue #11633 has been updated by Naotoshi Seo.
Status changed from Assigned to Closed
Let me close
----------------------------------------
Feature #11633: NilLogger class
https://bugs.ruby-lang.org/issues/11633#change-57995
* Author: Hannes Nevalainen
* Status: Closed
* Priority: Normal
* Assignee: Naotoshi Seo
----------------------------------------
I'd like to have a NilLogger class in ruby which have the same api as the stdlib Logger object, but where all logging methods is just noop:s.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-10 13:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-11633.20151028151429@ruby-lang.org>
2015-10-28 15:14 ` [ruby-core:71250] [Ruby trunk - Feature #11633] [Open] NilLogger class hannes.nevalainen
2015-11-18 2:56 ` [ruby-core:71541] [Ruby trunk - Feature #11633] [Assigned] " naruse
2015-11-18 8:46 ` [ruby-core:71544] [Ruby trunk - Feature #11633] " sonots
2016-04-10 14:07 ` [ruby-core:74867] [Ruby trunk Feature#11633][Closed] " sonots
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).