Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f704d2

Browse files
committed
Minor changes to dic tags reference
1 parent 9ae9e13 commit 9f704d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

reference/dic_tags.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ of your configuration, and tag it with ``routing.loader``:
179179
Using a custom logging channel with Monolog
180180
-------------------------------------------
181181

182-
Monolog allows to share the handlers between several logging channels.
182+
Monolog allows you to share its handlers between several logging channels.
183183
The logger service uses the channel ``app`` but you can change the
184184
channel when injecting the logger in a service.
185185

@@ -217,13 +217,13 @@ channel when injecting the logger in a service.
217217
Adding a processor for Monolog
218218
------------------------------
219219

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.
224224

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.
227227

228228
You can add a processor globally:
229229

@@ -279,7 +279,7 @@ attribute:
279279
$definition->addTag('monolog.processor', array('handler' => 'firephp');
280280
$container->register('my_service', $definition);
281281
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``
283283
attribute. This will register the processor only for the ``security`` logging
284284
channel used in the Security component:
285285

0 commit comments

Comments
 (0)