Create a simple logging utility that appends timestamped messages to audit.log. Integrate this into the main process to log key events (e.g., "File encrypted: report.docx.enc"). Add a "View Log" button that reads and displays the log file's content in a simple alert or modal.
Create a simple logging utility that appends timestamped messages to audit.log. Integrate this into the main process to log key events (e.g., "File encrypted: report.docx.enc"). Add a "View Log" button that reads and displays the log file's content in a simple alert or modal.