<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/logger/test_logger.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/logger] Test cases</title>
<updated>2021-12-17T23:38:58+00:00</updated>
<author>
<name>Baron Bloomer</name>
<email>baronbloomer@gmail.com</email>
</author>
<published>2021-08-17T10:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43755468102e3d62830d076d1fae0d6beba2b25b'/>
<id>43755468102e3d62830d076d1fae0d6beba2b25b</id>
<content type='text'>
https://github.com/ruby/logger/commit/40adb645e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/40adb645e2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Ignored loading CoreAssertions in test runner</title>
<updated>2021-09-14T23:49:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-09-14T11:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f6b42e0cb5c41255b51d1d09086eb7748f9ac69'/>
<id>8f6b42e0cb5c41255b51d1d09086eb7748f9ac69</id>
<content type='text'>
https://github.com/ruby/logger/commit/2fd5401ad6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/2fd5401ad6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Let Logger#reopen not raise on nil log devices</title>
<updated>2020-06-11T04:54:04+00:00</updated>
<author>
<name>Lourens Naudé</name>
<email>lourens@bearmetal.eu</email>
</author>
<published>2020-03-28T16:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ae93ebae677f685aab155d7982c64c1cb6e4b69c'/>
<id>ae93ebae677f685aab155d7982c64c1cb6e4b69c</id>
<content type='text'>
https://github.com/ruby/logger/commit/da7bf844e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/da7bf844e5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Let File::NULL ("/dev/null", "NUL" etc.) be considered a nil log device</title>
<updated>2020-06-11T04:53:50+00:00</updated>
<author>
<name>Lourens Naudé</name>
<email>lourens@bearmetal.eu</email>
</author>
<published>2020-03-28T16:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f3e12caa088cc893a54bc2810ff511e4c89b322b'/>
<id>f3e12caa088cc893a54bc2810ff511e4c89b322b</id>
<content type='text'>
https://github.com/ruby/logger/commit/b42a1b99aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/b42a1b99aa
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Honor Logger#level overrides</title>
<updated>2019-12-10T11:58:25+00:00</updated>
<author>
<name>George Claghorn</name>
<email>george@basecamp.com</email>
</author>
<published>2019-09-06T22:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb18cb3e476db3bc44d489e090e1535237c4c6c9'/>
<id>eb18cb3e476db3bc44d489e090e1535237c4c6c9</id>
<content type='text'>
https://github.com/ruby/logger/commit/7365c995bf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/7365c995bf
</pre>
</div>
</content>
</entry>
<entry>
<title>Move helper file of logger to under the test/logger.</title>
<updated>2019-07-15T05:43:08+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-07-15T05:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b59ed9b494104d3a571bb222ee843cd82d1c9ba'/>
<id>1b59ed9b494104d3a571bb222ee843cd82d1c9ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Add option to set the binary mode of the log device</title>
<updated>2019-07-15T05:43:08+00:00</updated>
<author>
<name>Rafael Mendonça França</name>
<email>rafaelmfranca@gmail.com</email>
</author>
<published>2019-06-04T22:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58065b87018a9d1ed972b8c856004bf75728da02'/>
<id>58065b87018a9d1ed972b8c856004bf75728da02</id>
<content type='text'>
Without binmode strings with incompatible encoding can't be written in
the file. This is very common in applications that log user provided
parameters.

We need to allow changing the binnary mode because right now it is impossible to use
the built-in log rotation feature when you provide a File object to the
LogDevice, and if you provide a filename you can't have binmode.

https://github.com/ruby/logger/commit/9114b3ac7e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without binmode strings with incompatible encoding can't be written in
the file. This is very common in applications that log user provided
parameters.

We need to allow changing the binnary mode because right now it is impossible to use
the built-in log rotation feature when you provide a File object to the
LogDevice, and if you provide a filename you can't have binmode.

https://github.com/ruby/logger/commit/9114b3ac7e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Fix to use logger and test-unit in this repo with</title>
<updated>2019-07-15T05:43:07+00:00</updated>
<author>
<name>sonots</name>
<email>sonots@gmail.com</email>
</author>
<published>2019-03-18T10:34:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=136196785b10f7cffa1e4d557bc3bcc0e863813a'/>
<id>136196785b10f7cffa1e4d557bc3bcc0e863813a</id>
<content type='text'>
`ruby test/logger/test_xxx.rb`

https://github.com/ruby/logger/commit/d3c2402340
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ruby test/logger/test_xxx.rb`

https://github.com/ruby/logger/commit/d3c2402340
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused variables</title>
<updated>2018-03-17T06:41:35+00:00</updated>
<author>
<name>k0kubun</name>
<email>k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-03-17T06:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f5fc032eee8a91417c7d62cc0cb8779a98dee1d2'/>
<id>f5fc032eee8a91417c7d62cc0cb8779a98dee1d2</id>
<content type='text'>
This fixes following warning:

```
test/logger/test_logger.rb:329: warning: assigned but unused variable - read_read
```

[Fix GH-1840]

From: yuuji.yaginuma &lt;yuuji.yaginuma@gmail.com&gt;

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes following warning:

```
test/logger/test_logger.rb:329: warning: assigned but unused variable - read_read
```

[Fix GH-1840]

From: yuuji.yaginuma &lt;yuuji.yaginuma@gmail.com&gt;

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>logger.rb: Fix handling progname</title>
<updated>2017-07-20T16:47:26+00:00</updated>
<author>
<name>sonots</name>
<email>sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2017-07-20T16:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=93fe0ff2f1a2818523799d3da68cade115bec783'/>
<id>93fe0ff2f1a2818523799d3da68cade115bec783</id>
<content type='text'>
Because progname was memoized with ||= a logger call that involved
outputting false would be nil. Example code:

  logger = Logger.new(STDOUT)
  logger.info(false)  # =&gt; nil

Perform an explicit nil check instead of ||= so that false will be output.

patched by Gavin Miller &lt;gavingmiller@gmail.com&gt; [Fix GH-1667]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because progname was memoized with ||= a logger call that involved
outputting false would be nil. Example code:

  logger = Logger.new(STDOUT)
  logger.info(false)  # =&gt; nil

Perform an explicit nil check instead of ||= so that false will be output.

patched by Gavin Miller &lt;gavingmiller@gmail.com&gt; [Fix GH-1667]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
