Skip to content

Commit

Permalink
Add logging tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Radt committed Aug 16, 2016
1 parent 545353c commit a74fcfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ services:
arguments: ["@doctrine.orm.entity_manager", "@live.broadcast.scheduler.commands", "@live.broadcast.youtubeapi.service", "@kernel", "@live.broadcast.googleredirect.service", "@logger"]
tags:
- { name: kernel.event_subscriber }
- { name: monolog.logger, channel: livebroadcaster }
live.broadcast.youtube_switch_monitor_listener:
class: Martin1982\LiveBroadcastBundle\EventListener\YouTubeSwitchMonitorListener
arguments: ["@live.broadcast.scheduler.commands", "@live.broadcast.streamoutput.service", "@live.broadcast.streaminput.service", "@live.broadcast.youtubeapi.service", "@live.broadcast.googleredirect.service", "@logger"]
tags:
- { name: kernel.event_subscriber }
- { name: monolog.logger, channel: livebroadcaster }

live.broadcast.streaminput.service:
class: Martin1982\LiveBroadcastBundle\Service\StreamInputService
Expand Down Expand Up @@ -84,6 +86,7 @@ services:
live.broadcast.youtubeapi.service:
class: Martin1982\LiveBroadcastBundle\Service\YouTubeApiService
arguments: ["%yt_client_id%", "%yt_client_secret%", "@doctrine.orm.entity_manager", "@logger"]
tags: [{ name: monolog.logger, channel: livebroadcaster }]
live.broadcast.googleredirect.service:
class: Martin1982\LiveBroadcastBundle\Service\GoogleRedirectService
arguments: ["@router", "%live_broadcast_yt_redirect_route%"]

0 comments on commit a74fcfb

Please sign in to comment.