Registry / logging / psr-log

psr-log

JSON →
library3.0.2phppackagistunverified

Common interface for logging libraries - defines a standard logger interface (PSR-3).

composer require psr/log
INSTALL
IMPORT
SIG · PSR-LOG
P
psr-log
loggingphpv3.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LoggerInterface
use Psr\Log\LoggerInterface;

Use the PSR-3 logger interface

use Psr\Log\LoggerInterface; function logSomething(LoggerInterface $logger) { $logger->info('Hello, world!'); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
36
Resources
psr-log — pip install psr-log · libregistry