Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #497: unify logging through Listen.logger; add missing logger_spec #498

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

ColinDKelley
Copy link
Collaborator

@ColinDKelley ColinDKelley commented Sep 20, 2020

Issue #497

  • 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.

spec/lib/listen/logger_spec.rb Show resolved Hide resolved
spec/lib/listen/logger_spec.rb Show resolved Hide resolved
spec/lib/listen/logger_spec.rb Show resolved Hide resolved
spec/lib/listen/logger_spec.rb Show resolved Hide resolved
spec/lib/listen/logger_spec.rb Show resolved Hide resolved
lib/listen/event/loop.rb Show resolved Hide resolved
lib/listen/adapter/windows.rb Show resolved Hide resolved
lib/listen/adapter/windows.rb Show resolved Hide resolved
lib/listen/adapter/base.rb Show resolved Hide resolved
lib/listen/adapter.rb Show resolved Hide resolved
@ColinDKelley ColinDKelley merged commit 49381cf into guard:master Oct 30, 2020
@ColinDKelley ColinDKelley deleted the issue_497/unify-logging branch October 30, 2020 06:18
@ColinDKelley ColinDKelley linked an issue Oct 30, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logging should be unified
3 participants