Registry / logging / bramus-monolog-colored-line-formatter

bramus-monolog-colored-line-formatter

JSON →
library3.1.2phppackagistunverified

Colored Line Formatter for Monolog, providing color-coded log output for better readability.

composer require bramus/monolog-colored-line-formatter
INSTALL
IMPORT
SIG · BRAMUS-MONOLOG-COL
B
bramus-monolog-colored-line-formatter
loggingphpv3.1.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.

ColoredLineFormatter
use Bramus\Monolog\Formatter\ColoredLineFormatter;

Set up a Monolog logger with colored line formatting.

use Bramus\Monolog\Formatter\ColoredLineFormatter; use Monolog\Logger; use Monolog\Handler\StreamHandler; $log = new Logger('name'); $handler = new StreamHandler('php://stdout', Logger::WARNING); $handler->setFormatter(new ColoredLineFormatter()); $log->pushHandler($handler); $log->warning('This is a warning');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
bramus-monolog-colored-line-formatter — pip install bramus-monolog-colored-line-formatter · libregistry