chillerlan/php-log

A psr/logger-interface implementation. PHP 7.2+


License
MIT

Documentation

chillerlan/php-log

A cheap psr/logger-interface implementation. PHP 7.2+

version license Travis Coverage Scrunitizer Packagist downloads PayPal donate

Documentation

Installation

requires composer

composer.json (note: replace dev-master with a version boundary)

{
	"require": {
		"php": ">=7.2.0",
		"chillerlan/php-log": "^2.0"
	}
}

Manual installation

Download the desired version of the package from master or release and extract the contents to your project folder. After that:

  • run composer install to install the required dependencies and generate /vendor/autoload.php.
  • if you use a custom autoloader, point the namespace chillerlan\Logger to the folder src of the package

Profit!

Usage

  • @todo