Skip to content

Commit a0b7b27

Browse files
add comment
1 parent 638813b commit a0b7b27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/logging/logging.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ Alias for [`LogLevel(1_000_001)`](@ref LogLevel).
172172
const AboveMaxLevel = LogLevel( 1000001)
173173

174174
# Global log limiting mechanism for super fast but inflexible global log limiting.
175+
# Atomic ensures that the value is always consistent across threads.
175176
const _min_enabled_level = Threads.Atomic{Int32}(Debug)
176177

177178
function show(io::IO, level::LogLevel)

0 commit comments

Comments
 (0)