PSR3
PSR-3, short for PHP Standards Recommendation 3, defines a standard logging interface for PHP libraries and applications. Published by the PHP Framework Interop Group (PHP-FIG), it aims to enable interoperable logging by ensuring that libraries can log messages in a consistent way regardless of the underlying logging implementation.
The core of PSR-3 is the LoggerInterface, named Psr\Log\LoggerInterface. It requires eight convenience methods—emergency(), alert(), critical(),
Adoption and usage: By type-hinting dependencies on Psr\Log\LoggerInterface, code can work with any PSR-3 compliant logger.
History and scope: PSR-3 is one of several PHP-FIG PSRs designed to standardize common interfaces. It has