Registry / logging / apache-log4php

apache-log4php

JSON →
library2.3.0phppackagistunverified

A versatile logging framework for PHP

composer require apache/log4php
INSTALL
IMPORT
SIG · APACHE-LOG4PHP
A
apache-log4php
loggingphpv2.3.0
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 Logger\Logger;

Configure and use a logger.

<?php use Logger\Logger; Logger::configure('config.xml'); $logger = Logger::getLogger('myLogger'); $logger->info('This is an info message.');
Debug
Known issues
breakingRequires PHP 5.3+; not compatible with PHP 8+ type hints.
fix
Use a modern logging library like Monolog for PHP 8+.
affects: >=2.3.0
Upgrade
Version history
2.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
51 hits · last 30 days
node
46
Resources
apache-log4php — pip install apache-log4php · libregistry