audit_logger
module wittgenstein_crm_client.write.audit_logger
Classes
-
CRMAuditLogger — Audit logger to record CRM actions and transitions in database.
wittgenstein_crm_client.write.audit_logger.CRMAuditLogger
class CRMAuditLogger(db_connection_url: Optional[str] = None)
Audit logger to record CRM actions and transitions in database.
Methods
-
log_action — Log a CRM action in the database and logging framework.
wittgenstein_crm_client.write.audit_logger.CRMAuditLogger.log_action
async method CRMAuditLogger.log_action(self, action_type: str, lead_id: str, operator: str, details: Dict[str, Any]) → None
Log a CRM action in the database and logging framework.