logger added
This commit is contained in:
@@ -50,7 +50,7 @@ class Products(db.Model):
|
|||||||
product_list = cls.query.all()
|
product_list = cls.query.all()
|
||||||
json_output = json.dumps(product_list.to_dict())
|
json_output = json.dumps(product_list.to_dict())
|
||||||
print(json_output)
|
print(json_output)
|
||||||
|
logger.info(json_output)
|
||||||
return json_output
|
return json_output
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user