Просмотр исходного кода

Merge pull request #101 from cordoval/patch-1

rephrased for clarity and simplicity
Jordi Boggiano 13 лет назад
Родитель
Сommit
f0fc9a72d3
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      doc/usage.md

+ 5 - 5
doc/usage.md

@@ -94,12 +94,12 @@ Leveraging channels
 
 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
-MonologBundle in Symfony2). You can then easily grep through log files for
-example to filter this or that type of log record.
+MonologBundle in Symfony2).
 
-Using different loggers with the same handlers allow to identify the logger
-that issued the record (through the channel name) by keeping the same handlers
-(for instance to use a single log file).
+Picture two loggers sharing a handler that writes to a single log file.
+Channels would then allow an identity of the logger that issues the record
+(distinguishable through the channel's name). You can then easily grep through
+the log files filtering this or that type of log record.
 
 ```php
 <?php