Registry / logging / spiral-logger

spiral-logger

JSON →
library3.16.2phppackagistunverified

LogFactory and global log listeners

composer require spiral/logger
INSTALL
IMPORT
SIG · SPIRAL-LOGGER
S
spiral-logger
loggingphpv3.16.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.

LogFactory
use Spiral\Logger\LogFactory;

Create a logger instance using LogFactory.

use Spiral\Logger\LogFactory; $factory = new LogFactory(); $logger = $factory->create('my-channel'); $logger->info('Hello world');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.16.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
spiral-logger — pip install spiral-logger · libregistry