You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/logger.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -816,10 +816,11 @@ for the given name and level to the logging module. By default, this logs all bo
816
816
817
817
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.
818
818
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.
821
822
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.
823
824
824
825
```python hl_lines="10" title="Cloning Logger config to all other registered standard loggers"
0 commit comments