Skip to content

Commit 765689e

Browse files
committed
Add missing do to withlevel README example
1 parent 1bf42b8 commit 765689e

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
@@ -418,7 +418,7 @@ calls. For example:
418418
using LoggingExtras
419419

420420
function complex_user_call(; verbose=0)
421-
LoggingExtras.withlevel(Debug; verbosity=verbose)
421+
LoggingExtras.withlevel(Debug; verbosity=verbose) do
422422
# execute complex function body
423423
@debugv 1 "a level 1 verbosity debug message"
424424
@debugv 2 "a more verbose level 2 debug message"

0 commit comments

Comments
 (0)