Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Use print_debug to reduce console spew, consistent with the rest of the library. #109

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

AJMansfield
Copy link
Contributor

What does this implement/fix? Explain your changes.

All the other console/debug messages printed by the pymesh library use print_debug so they can be disabled by setting the debug level, but for whatever reason this line uses bare print and can't be turned off.

This PR changes it into another print_debug to reduce console spew and make it consistent with the rest of the library.

Where has this been tested?

  • Board type and hardware version: LoPy4
  • os.uname() output: (sysname='LoPy4', nodename='LoPy4', release='1.20.1.r2', version='v1.11-7106c733c on 2019-11-01', machine='LoPy4 with ESP32', lorawan)

Copy link
Contributor

@catalinio catalinio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

@catalinio catalinio merged commit 975fa43 into pycom:master Feb 5, 2020
@AJMansfield AJMansfield deleted the patch-1 branch May 31, 2020 01:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants