Skip to content

Commit 8d03dd0

Browse files
committed
docs(logger): mention new ignore_log_level parameter
1 parent 131b30f commit 8d03dd0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/core/logger.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -816,10 +816,11 @@ for the given name and level to the logging module. By default, this logs all bo
816816

817817
You can copy the Logger setup to all or sub-sets of registered external loggers. Use the `copy_config_to_registered_logger` method to do this.
818818

819-
???+ tip
820-
To help differentiate between loggers, we include the standard logger `name` attribute for all loggers we copied configuration to.
819+
!!! tip "We include the logger `name` attribute for all loggers we copied configuration to help you differentiate them."
820+
821+
By default all registered loggers will be modified. You can change this behavior by providing `include` and `exclude` attributes.
821822

822-
By default all registered loggers will be modified. You can change this behavior by providing `include` and `exclude` attributes. You can also provide optional `log_level` attribute external loggers will be configured with.
823+
You can also provide optional `log_level` attribute external top-level loggers will be configured with, by default it'll use the source logger log level. You can opt-out by using `ignore_log_level=True` parameter.
823824

824825
```python hl_lines="10" title="Cloning Logger config to all other registered standard loggers"
825826
---8<-- "examples/logger/src/cloning_logger_config.py"

0 commit comments

Comments
 (0)