# Logging and error handling

  • Logging
  • Error Handling

# Logging

  • Transcript log: Captures the full session (PowerShell transcript).
  • Custom log: Records all menu actions, errors, and warnings in a separate file for audit and troubleshooting.
  • No file conflicts: Logging is robust and avoids file access errors by separating transcript and custom logs.

# Error Handling

  • Errors and warnings are shown in colour in the terminal.
  • All details are logged in the custom log file for review.