File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1080,16 +1080,6 @@ functions.
10801080 Logs a message with level *level * on the root logger. The other arguments are
10811081 interpreted as for :func: `debug `.
10821082
1083- .. note :: The above module-level convenience functions, which delegate to the
1084- root logger, call :func: `basicConfig ` to ensure that at least one handler
1085- is available. Because of this, they should *not * be used in threads,
1086- in versions of Python earlier than 2.7.1 and 3.2, unless at least one
1087- handler has been added to the root logger *before * the threads are
1088- started. In earlier versions of Python, due to a thread safety shortcoming
1089- in :func: `basicConfig `, this can (under rare circumstances) lead to
1090- handlers being added multiple times to the root logger, which can in turn
1091- lead to multiple messages for the same event.
1092-
10931083.. function :: disable(level=CRITICAL)
10941084
10951085 Provides an overriding level *level * for all loggers which takes precedence over
You can’t perform that action at this time.
0 commit comments