Skip to content

Conversation

jcouball
Copy link
Member

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

Rather than allow the logger to be nil which requires special casing it use, create a null logger with Logger.new(nil) which gives a functional logger object that does not log anything.

This should make the code a little less complex.

Signed-off-by: James Couball <jcouball@yahoo.com>
@jcouball jcouball merged commit 9ee7ca9 into master Feb 18, 2023
@jcouball jcouball deleted the default_logger branch February 18, 2023 23:52
@jcouball jcouball mentioned this pull request Feb 26, 2023
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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy