You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,7 +368,7 @@ Main | [Warn] This is a warning, should take a look.
368
368
## `LevelOverrideLogger` (*Filter*)
369
369
Allows overriding the minimum log level set by the logger it wraps.
370
370
Useful when debug logging
371
-
and used in conjuction with `Logging.with_logger` or `LoggingExtras.with` to
371
+
and used in conjuction with `Logging.with_logger` or `LoggingExtras.withlevel` to
372
372
temporarily modify the current logger with a custom level.
373
373
More generally useful if you want to use the current/global logger as a _sink_ but don't know if it is going to have a problematically high min log level set (as julia's default logger sets min level to `Info`).
374
374
@@ -399,7 +399,7 @@ non-verbose counterparts, but allow specifying a verbosity level as well:
399
399
* `@warnv N msg`
400
400
* `@errorv N msg`
401
401
402
-
For verbosity filtering, the `LoggingExtras.with(f; level=Info, verbosity=0)` utlility is provided
402
+
For verbosity filtering, the `LoggingExtras.withlevel(f, Info; verbosity=0)` utlility is provided
403
403
for temporarily (i.e. while `f()` is executed) allowing log messages with `level` and `verbosity`.
404
404
This is very handy for allowing finer grained control in debug logging for long-running or complex user API function
0 commit comments