File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
source/monitoring-logging Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ your logger.
4444After registering a logger, the {+library-short+} generates log messages
4545that resemble the following sample message:
4646
47- .. code-block:: php
47+ .. code-block:: none
4848 :copyable: false
4949
5050 [0] => Array
@@ -62,7 +62,7 @@ The sample log message includes the following information:
6262- Domain string: Specifies the driver component that emitted the log message. The
6363 ``PHONGO`` domain indicates that the {+extension-short+} generated the event.
6464
65- .. note::
65+ .. note:: Log Message Format
6666
6767 The preceding example shows a log message stored in an array. However,
6868 the format of your log messages might differ depending on your logging
@@ -72,9 +72,10 @@ Create a Monolog Logger
7272~~~~~~~~~~~~~~~~~~~~~~~
7373
7474You can use `Monolog <https://packagist.org/packages/monolog/monolog>`__, a
75- PHP logging library, to configure logging in your application. Monolog provides
76- a ``Monolog\Logger`` logging class that implements the ``Psr\Log\LoggerInterface``
77- interface. It also provides handlers that direct logs to specified locations.
75+ PHP logging library, to configure logging in your application. Monolog simplifies
76+ logging configuration by providing a ``Monolog\Logger`` class. This class implements
77+ the ``Psr\Log\LoggerInterface`` interface and provides handlers that direct logs to
78+ specified locations.
7879
7980To use Monolog, install the ``monolog/monolog`` package by running
8081the following command:
You can’t perform that action at this time.
0 commit comments