TwP / logging

A flexible logging library for use in Ruby programs based on the design of Java's log4j library.
https://rubygems.org/gems/logging
MIT License
530 stars 101 forks source link

Fix up console appenders #220

Closed TwP closed 3 years ago

TwP commented 3 years ago

This PR changes how the Stdout and Stderr conosle appenders work. Instead of reusing the Ruby constants STDOUT and STDERR, these appenders now create their own IO objects to use under the hood. These appenders have better behavior and can be closed and reopened.

fixes #214