Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 27, 2011
1 parent d178bdc commit 20110bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.mdown
Expand Up @@ -5,11 +5,11 @@ Usage
----- -----


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


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


// add records to the log // add records to the log
$log->addWarning('Foo'); $log->addWarning('Foo');
Expand Down Expand Up @@ -38,8 +38,7 @@ Todo


- Log rotation for RotatingFileHandler and TimedRotatingFileHandler - Log rotation for RotatingFileHandler and TimedRotatingFileHandler
- MailHandler - MailHandler
- FirePHP writer - FirePHPHandler
- Syslog writer


Requirements Requirements
------------ ------------
Expand All @@ -50,6 +49,7 @@ Author
------ ------


Jordi Boggiano - <j.boggiano@seld.be> - <http://twitter.com/seldaek> Jordi Boggiano - <j.boggiano@seld.be> - <http://twitter.com/seldaek>
See also the list of [contributors](https://github.com/Seldaek/monolog/contributors) which participated in this project.


License License
------- -------
Expand Down

0 comments on commit 20110bf

Please sign in to comment.