Closed plandes closed 1 year ago
Unfortunately, setting the statements to "info" will mean that users will not see any output at the default logging level and may think the system is frozen while loading the module. If the two print statements are a serious issue a "-quiet" option could be added to the code. However, this parser is older and produces much lower scores that the others so I expect the code will not be used much in the future.
@bjascob Any project that uses your library will most likely be using the standard Python logging system as they will be larger projects. It's very easy to set the logging system to log info
with one line (two with the import):
import logging
logging.basicConfig(level=logging.INFO)
Regarding the usage of this parser: if others are like me, the parser is used more than the others for prototyping as its the fastest.
For these reasons I'd ask you reconsider your decision to not merge this pull request.
Thank you.
Switch inference logging from standard out to logging module.