m7mdal7aj commited on
Commit
0b87d6e
·
verified ·
1 Parent(s): b3c16e8

Update my_model/utilities/gen_utilities.py

Browse files
my_model/utilities/gen_utilities.py CHANGED
@@ -49,6 +49,13 @@ def log_function_call(func):
49
 
50
  ##### End of Logging Decorator #####
51
 
 
 
 
 
 
 
 
52
 
53
  def show_image(image):
54
  """
 
49
 
50
  ##### End of Logging Decorator #####
51
 
52
+
53
+ # Set up logging
54
+ logging.basicConfig(filename='app.log', level=logging.INFO)
55
+
56
+ def log_click(widget_name):
57
+ logging.info(f'{widget_name} was clicked.')
58
+
59
 
60
  def show_image(image):
61
  """