Skip to content

Commit 618679b

Browse files
add note about disable_logging
Fixes #34037
1 parent 5587c4e commit 618679b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/logging/logging.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ with_logstate(f::Function, logstate) = @with(CURRENT_LOGSTATE => logstate, f())
543543
544544
Disable all log messages at log levels equal to or less than `level`. This is
545545
a *global* setting, intended to make debug logging extremely cheap when
546-
disabled.
546+
disabled. Note that this cannot be used to enable logging that is currently disabled
547+
by other mechanisms.
547548
548549
# Examples
549550
```julia

0 commit comments

Comments
 (0)