Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ calls. For example:
using LoggingExtras

function complex_user_call(; verbose=0)
LoggingExtras.withlevel(Debug; verbosity=verbose)
LoggingExtras.withlevel(Debug; verbosity=verbose) do
# execute complex function body
@debugv 1 "a level 1 verbosity debug message"
@debugv 2 "a more verbose level 2 debug message"
Expand Down
2 changes: 1 addition & 1 deletion src/verbosity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ to the core logging logic as a `LoggingExtras.Verbosity` object.
Note these "verbose" logging messages will only be filtered if a filter logger is used.
A `LoggingExtras.EarlyFilteredLogger`can be used to filter on the `group.verbosity` argument.
For convenience, the
[`LoggintExtras.withlevel(f, level; verbosity)`](@ref) function is provided to temporarily
[`LoggingExtras.withlevel(f, level; verbosity)`](@ref) function is provided to temporarily
wrap the current logger with a log level and verbosity to filter while `f` is executed.
"""

Expand Down