Skip to content

Commit 019258a

Browse files
add note about not logging within logger.lock
1 parent 678e057 commit 019258a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/logging/ConsoleLogger.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Message formatting can be controlled by setting keyword arguments:
2727
"""
2828
struct ConsoleLogger <: AbstractLogger
2929
stream::IO
30-
lock::ReentrantLock
30+
lock::ReentrantLock # do not log within this lock
3131
min_level::LogLevel
3232
meta_formatter
3333
show_limited::Bool

0 commit comments

Comments
 (0)