Question.
In one of the demonstrations, you saw an example of how to add error logging to a script.
That example used a static file name.
In a production environment, a user might want the ability to specify the name of the file where errors
would be logged.
How could you provide that ability?
Answer.
You could add a parameter to a function to let the user specify a file name.
You could provide a default value for that parameter so that users would not be required to specify
a file name.
You might also include verbose output to notify the user of the file name that was being used.