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

Conflict with mkmf #242

Closed laleshii closed 2 years ago

laleshii commented 2 years ago

Your top level class name seems to be in direct conflict with the mkmf standard library.

require 'mkmf'
> Logging
=> MakeMakefile::Logging

Not sure what the best course of action is here. Might be worth considering changing it.

TwP commented 2 years ago

This is an error with mkmf.rb itself. According to the code comment here, the MakeMakefile::Logging module should not be exposed at the top-level of the object space.

This module and its associated methods are meant for internal use only.

I'd suggest taking this up with the core ruby team and let them know that their abstractions are leaking.