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-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -811,10 +811,11 @@ for the given name and level to the logging module. By default, this logs all bo
811
811
812
812
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.
813
813
814
-
???+ tip
815
-
To help differentiate between loggers, we include the standard logger `name` attribute for all loggers we copied configuration to.
814
+
!!! tip "We include the logger `name` attribute for all loggers we copied configuration to help you differentiate them."
815
+
816
+
By default all registered loggers will be modified. You can change this behavior by providing `include` and `exclude` attributes.
816
817
817
-
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.
818
+
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.
818
819
819
820
```python hl_lines="10" title="Cloning Logger config to all other registered standard loggers"
0 commit comments