Logger for clipper module
This commit is contained in:
@@ -68,6 +68,7 @@ class Clipper:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
|
||||||
args = sys.argv
|
args = sys.argv
|
||||||
if len(args) != 4:
|
if len(args) != 4:
|
||||||
logger.error("Wrong arguments passed")
|
logger.error("Wrong arguments passed")
|
||||||
|
|||||||
Reference in New Issue
Block a user