Download the PHP package phputil/logger without Composer
On this page you can find all versions of the php package phputil/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phputil/logger
More information about phputil/logger
Files in phputil/logger
Download phputil/logger
More information about phputil/logger
Files in phputil/logger
Vendor phputil
Package logger
Short Description A very simple logger
License LGPL-3
Homepage http://github.com/thiagodp/logger
Package logger
Short Description A very simple logger
License LGPL-3
Homepage http://github.com/thiagodp/logger
Please rate this library. Is it a good library?
Informations about the package logger
Logger
A very simple logger for PHP. No magic configuration required. Just the basic features you need most.
Provided interfaces and classes:
- phputil\Logger interface
- phputil\BaseLogger abstract class
- phputil\TextFileLogger class
- phputil\FakeLogger class (v1.1+)
- phputil\EchoLogger class (v1.3+)
Available log methods:
bool debug( string $message, Exception $e = null, array $context = array() );
bool info( string $message, Exception $e = null, array $context = array() );
bool warn( string $message, Exception $e = null, array $context = array() );
bool error( string $message, Exception $e = null, array $context = array() );
bool log( string $logType, string $message, Exception $e = null, array $context = array() );
Installation
Example 1
Example 2
Example 3
All versions of logger with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.2.0
The package phputil/logger contains the following files
Loading the files please wait ....