1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 14:32:44 +01:00
2011-02-20 22:31:55 +01:00
2011-02-20 22:31:55 +01:00
2011-02-17 02:08:00 +01:00
2011-02-17 02:08:00 +01:00

Monolog - Logging for PHP 5.3

Usage

use Monolog\Logger;
use Monolog\Handler\FileHandler;

// create a log channel
$log = new Logger('name');
$log->pushHandler(new FileHandler('path/to/your.log', Logger::WARNING));

// add messages to the log
$log->addWarning('Foo');
$log->addError('Bar');

Todo

  • Log rotation for RotatingFileHandler
  • FirePHP writer
  • Syslog writer

Author

Jordi Boggiano - j.boggiano@seld.be - http://twitter.com/seldaek

License

Monolog is licensed under the MIT License - see the LICENSE file for details

Requirements

Any flavor of PHP 5.3 should do

Acknowledgements

This library is heavily inspired by Python's Logbook library, although it has been adapted to fit in PHP.

Description
No description provided
Readme 10 MiB
Languages
PHP 100%