1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-18 23:26:20 +02:00

Add GitHub PHP syntax highlighting to example

This commit is contained in:
Marc Abramowitz
2012-04-26 07:22:34 -07:00
parent abc80e0db8
commit acd05ec288

View File

@@ -6,6 +6,9 @@ Monolog - Logging for PHP 5.3
Usage Usage
----- -----
```php
<?php
use Monolog\Logger; use Monolog\Logger;
use Monolog\Handler\StreamHandler; use Monolog\Handler\StreamHandler;
@@ -16,6 +19,7 @@ Usage
// add records to the log // add records to the log
$log->addWarning('Foo'); $log->addWarning('Foo');
$log->addError('Bar'); $log->addError('Bar');
```
Core Concepts Core Concepts
------------- -------------