Registry / logging / yii2-extended-yii2-psr3-logger-bridge

yii2-extended-yii2-psr3-logger-bridge

JSON →
library9.0.7phppackagistunverified

A library to bridge psr-3 loggers with the yii logging system.

composer require yii2-extended/yii2-psr3-logger-bridge
INSTALL
IMPORT
SIG · YII2-EXTENDED-YII2
Y
yii2-extended-yii2-psr3-logger-bridge
loggingphpv9.0.7
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.

Logger
use Yii2Extended\Yii2Psr3LoggerBridge\Logger;

Set a PSR-3 logger as the Yii2 logger.

use Yii2Extended\Yii2Psr3LoggerBridge\Logger; $psrLogger = new Logger(); \Yii::setLogger($psrLogger); \Yii::info('Test message');
Debug
Known issues
gotchaRequires Yii2 and a PSR-3 logger implementation.
fix
Install a PSR-3 logger like monolog/monolog.
affects: >=9.0.0
Upgrade
Version history
9.0.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
yii2-extended-yii2-psr3-logger-bridge — pip install yii2-extended-yii2-psr3-logger-bridge · libregistry