lib/async/logger.rb in async-1.13.0 vs lib/async/logger.rb in async-1.13.1

- old
+ new

@@ -18,9 +18,12 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. require_relative 'terminal' +# Downstream gems often use `Logger:::LEVEL` constants, so we pull this in so they are available. That being said, the code should be fixed. +require 'logger' + module Async class Logger LEVELS = {debug: 0, info: 1, warn: 2, error: 3, fatal: 4} LEVELS.each do |name, level|