Requires to build a Error:class which will be part of the Utilities directory.
This class will handle any thrown error and log the errors to a specific file present in the project directory.
Will have a static method called logError() in which will receive 2 parameters, one being the error message and the second the file path where to write the error.
Description
Requires to build a
Error:class
which will be part of the Utilities directory.This class will handle any thrown error and log the errors to a specific file present in the project directory.
Will have a static method called
logError()
in which will receive 2 parameters, one being the error message and the second the file path where to write the error.