@@ -179,7 +179,7 @@ of your configuration, and tag it with ``routing.loader``:
179
179
Using a custom logging channel with Monolog
180
180
-------------------------------------------
181
181
182
- Monolog allows to share the handlers between several logging channels.
182
+ Monolog allows you to share its handlers between several logging channels.
183
183
The logger service uses the channel ``app `` but you can change the
184
184
channel when injecting the logger in a service.
185
185
@@ -217,13 +217,13 @@ channel when injecting the logger in a service.
217
217
Adding a processor for Monolog
218
218
------------------------------
219
219
220
- Monolog allows to add processors in the logger or in the handlers to add
221
- extra data in the records. A processor receives the record as argument and
222
- must return it after adding eventually some extra data in the ``extra ``
223
- attribute of the record.
220
+ Monolog allows you to add processors in the logger or in the handlers to add
221
+ extra data in the records. A processor receives the record as an argument and
222
+ must return it after adding some extra data in the ``extra `` attribute of
223
+ the record.
224
224
225
- Let's see how you can use the built-in IntrospectionProcessor to add the file,
226
- the line, the class and the method where the logger was triggered.
225
+ Let's see how you can use the built-in `` IntrospectionProcessor `` to add
226
+ the file, the line, the class and the method where the logger was triggered.
227
227
228
228
You can add a processor globally:
229
229
@@ -279,7 +279,7 @@ attribute:
279
279
$definition->addTag('monolog.processor', array('handler' => 'firephp');
280
280
$container->register('my_service', $definition);
281
281
282
- You can add also a processor for a specific logging channel by using the ``channel ``
282
+ You can also add a processor for a specific logging channel by using the ``channel ``
283
283
attribute. This will register the processor only for the ``security `` logging
284
284
channel used in the Security component:
285
285
0 commit comments