10000 Minimalist default PSR-3 logger by dunglas · Pull Request #10321 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Minimalist default PSR-3 logger #10321

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

Closed
wants to merge 4 commits into from
Closed
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
Prev Previous commit
Next Next commit
RST
  • Loading branch information
dunglas committed Sep 10, 2018
commit 915a50b314b899227ace651b16b3ea2e68572802
4 changes: 2 additions & 2 deletions logging.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Logging
=======

Symfony comes with a minimalist `PSR-3`_ logger: :class:`Symfony\Component\HttpKernel\Log\Logger`.
Symfony comes with a minimalist `PSR-3`_ logger: :class:`Symfony\\Component\\HttpKernel\\Log\\Logger`.
In conformance with `the twelve-factor app methodology`_, it sends messages starting from the
``WARNING`` level to `stderr`_.

Expand All @@ -16,7 +16,7 @@ The minimal log level can be changed by setting the ``SHELL_VERBOSITY`` environm
``3`` ``DEBUG``

The minimum log level, the default output and the log format can also be changed by
passing the appropriate arguments to the constructor of :class:`Symfony\Component\HttpKernel\Log\Logger`.
passing the appropriate arguments to the constructor of :class:`Symfony\\Component\\HttpKernel\\Log\\Logger`.
To do so, :ref:`override the ``logger`` service definition <service-psr4-loader>`.

Logging a Message
Expand Down
0