Tags | logging |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
Now you are going to upgrade your program by adding some logging capabilities.
You are expected to use the recommended logging library(or framework) for your programming language:
Whenever an exception/error is raised or thrown then it should be logged to a file called errors.log.
Note that even network errors should be logged.
Whenever an email is sent then it there should be an “info” message printed to the terminal. Just log who the email was sent to, don’t log the entire emailed message.
Make sure your log files are gitignored.