Skip to content

Commit e128705

Browse files
committed
minor #8256 Update logger service channel name (dubbs, javiereguiluz)
This PR was merged into the 3.3 branch. Discussion ---------- Update logger service channel name This looks like it should be `acme` instead of `app`. Commits ------- 7366b2d Renamed the channel to "app" e016a91 Update dic_tags.rst
2 parents b319324 + 7366b2d commit e128705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/dic_tags.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ channel when injecting the logger in a service.
658658
AppBundle\Log\CustomLogger:
659659
arguments: ['@logger']
660660
tags:
661-
- { name: monolog.logger, channel: acme }
661+
- { name: monolog.logger, channel: app }
662662
663663
.. code-block:: xml
664664
@@ -671,7 +671,7 @@ channel when injecting the logger in a service.
671671
<services>
672672
<service id="AppBundle\Log\CustomLogger">
673673
<argument type="service" id="logger" />
674-
<tag name="monolog.logger" channel="acme" />
674+
<tag name="monolog.logger" channel="app" />
675675
</service>
676676
</services>
677677
</container>
@@ -683,7 +683,7 @@ channel when injecting the logger in a service.
683683
684684
$container->register(CustomLogger::class)
685685
->addArgument(new Reference('logger'))
686-
->addTag('monolog.logger', array('channel' => 'acme'));
686+
->addTag('monolog.logger', array('channel' => 'app'));
687687
688688
.. tip::
689689

0 commit comments

Comments
 (0)