We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3ce43 commit 23bfd74Copy full SHA for 23bfd74
src/audit.py
@@ -0,0 +1,11 @@
1
+import logging
2
+
3
+class Audit:
4
+ def __init__(self):
5
+ logging.basicConfig(filename='audit.log', level=logging.INFO)
6
7
+ def log_transaction(self, transaction_id, details):
8
+ logging.info(f"Transaction ID: {transaction_id}, Details: {details}")
9
10
+ def log_governance_action(self, action, details):
11
+ logging.info(f"Governance Action: {action}, Details: {details}")
0 commit comments