Skip to content

Commit 2f72a09

Browse files
authored
tweaks
1 parent d0c385e commit 2f72a09

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/CompositionalLoggers/common.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
function comp_shouldlog(logger, level, _module, group, id)
88
(min_enabled_level(logger) <= level && shouldlog(logger, level, _module, group, id)) ||
99
Base.CoreLogging.env_override_minlevel(group, _module)
10+
# `env_override_minlevel` is the internal function that makes JULIA_DEBUG environment variable work
1011
end
1112

1213
# For checking if child logger will take the message you are sending

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ end
300300
# Define a module for testing conditional debug messages
301301
module JuliaDebugTest
302302

303-
function debug_message(str)
304-
@debug str
305-
end
303+
function debug_message(str)
304+
@debug str
305+
end
306306

307307
end
308308

0 commit comments

Comments
 (0)