services:
    _defaults:
        autowire: true
        public: false
        autoconfigure: true
        bind:
            $startSession: "%hexanet_monolog_extra.session_start%"

    Hexanet\Common\MonologExtraBundle\:
        resource: '../../{Logger,EventListener,Processor,Provider}'

services:
    _defaults:
        autowire: true
        public: false
        autoconfigure: true
        bind:
            $startSession: "%hexanet_monolog_extra.session_start%"
            $session: '@?session'

    Hexanet\Common\MonologExtraBundle\:
        resource: '../../{Logger,EventListener,Processor,Provider}'

Handle case where http/session is not present
:bug: Handle case where http/session is not present
