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
529 stars 100 forks source link

Fix up console appenders #220

Closed TwP closed 4 years ago

TwP commented 4 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