Background:
👍 for #5 (make it as PyPi package)
That will make smatch as an easily accessible library.
It will be nice to replace prints with log statements (so that library users can easily control)
Then, we can set log level from CLI args for backward compatibiltiy.
default level = WARNING
When Verbose flag is enabled, level=INFO
When VeryVerbose flag is enabled, level=DEBUG
Background: 👍 for #5 (make it as PyPi package) That will make smatch as an easily accessible library. It will be nice to replace prints with log statements (so that library users can easily control)
Mappings:
Then, we can set log level from CLI args for backward compatibiltiy. default level = WARNING When
Verbose
flag is enabled, level=INFO WhenVeryVerbose
flag is enabled, level=DEBUGReferences:
https://docs.python.org/3/library/logging.html