Skip to content

Commit 685bd6a

Browse files
[Logger] Removing channels: ~
Page: https://symfony.com/doc/6.4/logging/channels_handlers.html Reason: PHP's equivalent of YAML's `~` is `null`, right? However, I couldn't get this to work with Symfony's new array shape config, so I'm figuring this info does more harm than good.
1 parent 840aa55 commit 685bd6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logging/channels_handlers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ You can specify the configuration in different ways:
108108

109109
.. code-block:: yaml
110110
111-
channels: ~ # Include all the channels
112-
113111
channels: foo # Include only channel 'foo'
114112
channels: '!foo' # Include all channels, except 'foo'
115113
116114
channels: [foo, bar] # Include only channels 'foo' and 'bar'
117115
channels: ['!foo', '!bar'] # Include all channels, except 'foo' and 'bar'
118116
117+
To include *all* channels, just omit the ``channels`` key.
118+
119119
Creating your own Channel
120120
-------------------------
121121

0 commit comments

Comments
 (0)