shaheerawan3 commited on
Commit
79d8a45
·
verified ·
1 Parent(s): 32e4670

Update utils/audit.py

Browse files
Files changed (1) hide show
  1. utils/audit.py +4 -2
utils/audit.py CHANGED
@@ -9,8 +9,10 @@ class AuditLogger:
9
  def __init__(self):
10
  self._setup_logging()
11
 
12
- def initialize_with_connection(self, db_conn):
13
- self.conn = db_conn
 
 
14
 
15
  def _setup_logging(self):
16
  logging.basicConfig(
 
9
  def __init__(self):
10
  self._setup_logging()
11
 
12
+ def initialize_with_connection(self, conn):
13
+ self.conn = conn
14
+
15
+ audit_logger = AuditLogger()
16
 
17
  def _setup_logging(self):
18
  logging.basicConfig(