Skip to content

Commit e453ed1

Browse files
authored
Update README.md
1 parent 1dd607a commit e453ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ using HTTP
377377

378378
transformer_logger(global_logger()) do log
379379
# HTTP.jl utilizes internal modules so call parentmodule(...)
380-
if parentmodule(log._module) === HTTP && log.level === Logging.Debug
380+
if (log._module === HTTP || parentmodule(log._module) === HTTP) && log.level === Logging.Debug
381381
# Merge can be used to construct a new NamedTuple
382382
# which effectively is the overwriting of fields of a NamedTuple
383383
return merge(log, (; level=Logging.Info))

0 commit comments

Comments
 (0)