Skip to content

Update cookbook/logging/monolog.rst #1588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cookbook/logging/monolog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ using a processor.

namespace Acme\MyBundle;

use Symfony\Component\HttpFoundation\Session;
use Symfony\Component\HttpFoundation\Session\Session;

class SessionRequestProcessor
{
Expand Down Expand Up @@ -205,6 +205,8 @@ using a processor.
}
}

Add this to ``app/config/config.yml``:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should put this on the first line of the code:

.. configuration-block::

    .. code-block:: yaml

        // app/config/config.yml
        yml code

    .. code-block:: xml

        // app/config/config.xml
        xml code

    .. code-block:: php

        // app/config/config.php
        php code


.. configuration-block::

.. code-block:: yaml
Expand Down