This PR replaces print based logging with logging.info. Currently, some APIs use print function to notify some information to users. In general, this is not a suitable choice when the APIs in this module are integrated as a part of other third-party applications or modules. Authors of these applications or modules often want to turn logging on and off depending on the situation. For example, when debugging full logging is preferred to track down complex issues while non-critical logging is completely discarded in production usage for saving disk space or performance.
This PR replaces
print
based logging withlogging.info
. Currently, some APIs useprint
function to notify some information to users. In general, this is not a suitable choice when the APIs in this module are integrated as a part of other third-party applications or modules. Authors of these applications or modules often want to turn logging on and off depending on the situation. For example, when debugging full logging is preferred to track down complex issues while non-critical logging is completely discarded in production usage for saving disk space or performance.