Unified all logging through Listen.logger. No need for private methods, public_send, or meta-code.
Removed comment about "clearing" the logger (this wasn't supported); added comment about setting logger to /dev/null if you don't want logging.
Added missing logger_spec including testing all supported values for LISTEN_GEM_DEBUGGING. Extended that support to include the string forms of all the useful levels: debug, info, warn, error, fatal.
Issue https://github.com/guard/listen/issues/497
public_send
, or meta-code./dev/null
if you don't want logging.LISTEN_GEM_DEBUGGING
. Extended that support to include the string forms of all the useful levels:debug
,info
,warn
,error
,fatal
.