I'm relatively new to PHP and currently working on implementing a logging feature in my project. I've come across this term "Magic Constants" while researching how to efficiently log errors and events in PHP 7.3 and later versions.
I understand that PHP has a few built-in constants like __LINE__, __FILE__, and __DIR__ that provide useful information about the current line, file, and directory. However, I'm specifically interested in the "Magic Constants" related to logging.
To be more specific, I'm looking for details on what Magic Constants are available to me in PHP 7.3 and above for logging purposes. I want to make sure I'm utilizing the latest functionalities for logging in my project.
Any insights or examples you can provide would be greatly appreciated. Thanks in advance!