conia/log

A simple PSR-3 Logger

dev-main 2023-10-31 14:19 UTC

This package is auto-updated.

Last update: 2024-11-30 02:38:54 UTC


README

Software License Coverage Status Psalm coverage Psalm level Quality Score

A simple PSR-3 logger using PHP's error_log function.

Testing

During testing, PHP's error_log ini setting is set to a temporary file. To print the output to the console, prepend a special env variable to the PHPUnit cli command, as follows:

ECHO_LOG=1 phpunit