I am working PHP project on localhost using wamp, for debug process we using error_log() function, every time error_log() stored details of the error in wamp/logs, how can I view my error in the same project folder like wamp/www/goodgoal/
If you look at the documentation for the PHP error_log() function you’ll see that you can direct it either to the system error logger, or to a file of your choice, which can be inside your project folder if you wish: https://www.php.net/manual/en/function.error-log.php