mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Merge pull request #1215 from samnela/fix/remove-version-symfony
Remove version of Symfony
This commit is contained in:
@@ -68,7 +68,7 @@ Bugs and feature request are tracked on [GitHub](https://github.com/Seldaek/mono
|
|||||||
|
|
||||||
- Frameworks and libraries using [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
|
- Frameworks and libraries using [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
|
||||||
can be used very easily with Monolog since it implements the interface.
|
can be used very easily with Monolog since it implements the interface.
|
||||||
- [Symfony2](http://symfony.com) comes out of the box with Monolog.
|
- [Symfony](http://symfony.com) comes out of the box with Monolog.
|
||||||
- [Laravel 4 & 5](http://laravel.com/) come out of the box with Monolog.
|
- [Laravel 4 & 5](http://laravel.com/) come out of the box with Monolog.
|
||||||
- [Lumen](http://lumen.laravel.com/) comes out of the box with Monolog.
|
- [Lumen](http://lumen.laravel.com/) comes out of the box with Monolog.
|
||||||
- [PPI](http://www.ppi.io/) comes out of the box with Monolog.
|
- [PPI](http://www.ppi.io/) comes out of the box with Monolog.
|
||||||
|
@@ -17,10 +17,6 @@ and as such installable via [Composer](http://getcomposer.org/).
|
|||||||
composer require monolog/monolog
|
composer require monolog/monolog
|
||||||
```
|
```
|
||||||
|
|
||||||
If you do not use Composer, you can grab the code from GitHub, and use any
|
|
||||||
PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader))
|
|
||||||
to load Monolog classes.
|
|
||||||
|
|
||||||
## Core Concepts
|
## Core Concepts
|
||||||
|
|
||||||
Every `Logger` instance has a channel (name) and a stack of handlers. Whenever
|
Every `Logger` instance has a channel (name) and a stack of handlers. Whenever
|
||||||
@@ -163,7 +159,7 @@ Look at the [dedicated chapter](https://github.com/Seldaek/monolog/blob/master/d
|
|||||||
|
|
||||||
Channels are a great way to identify to which part of the application a record
|
Channels are a great way to identify to which part of the application a record
|
||||||
is related. This is useful in big applications (and is leveraged by
|
is related. This is useful in big applications (and is leveraged by
|
||||||
MonologBundle in Symfony2).
|
MonologBundle in Symfony).
|
||||||
|
|
||||||
Picture two loggers sharing a handler that writes to a single log file.
|
Picture two loggers sharing a handler that writes to a single log file.
|
||||||
Channels would allow you to identify the logger that issued every record.
|
Channels would allow you to identify the logger that issued every record.
|
||||||
|
Reference in New Issue
Block a user