33
44Symfony comes with two minimalist `PSR-3 `_ loggers::class: `Symfony\\ Component\\ HttpKernel\\ Log\\ Logger `
55for the HTTP context and:class: `Symfony\\ Component\\ Console\\ Logger\\ ConsoleLogger ` for the
6- CLI context.
7- In conformance with `the twelve-factor app methodology `_, they send messages starting from the
8- ``WARNING `` level to `stderr `_.
6+ CLI context. In conformance with `the twelve-factor app methodology `_, they send messages
7+ starting from the ``WARNING `` level to `stderr `_.
98
109The minimal log level can be changed by setting the ``SHELL_VERBOSITY `` environment variable:
1110
@@ -30,7 +29,7 @@ For more information about ``ConsoleLogger``, see :doc:`/components/console/logg
3029Logging a Message
3130-----------------
3231
33- To log a message using the `` logger `` service , inject the default logger in your controller or service::
32+ To log a message, inject the default logger in your controller or service::
3433
3534 use Psr\Log\LoggerInterface;
3635 // ...
@@ -62,7 +61,7 @@ Adding placeholders to log messages is recommended because:
6261* It's better for security, because escaping can then be done by the
6362 implementation in a context-aware fashion.
6463
65- The logger implementations has different methods for different logging levels/priorities.
64+ The`` logger `` service has different methods for different logging levels/priorities.
6665See `LoggerInterface `_ for a list of all of the methods on the logger.
6766
6867Monolog