Skip to content

Commit a0a489e

Browse files
quinnjoxinabox
andauthored
Update src/verbosity.jl
Co-authored-by: Frames Catherine White <[email protected]>
1 parent fb99b13 commit a0a489e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/verbosity.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ vlogmacrodocs = """
1717
additional verbosity level `N` is passed to indicate differing verbosity levels
1818
for a given log level. The verbosity argument is passed as the `group` argument
1919
to the core logging logic, so care should be taken if other loggers are being used
20-
that also use the group argument (which by default is passed the source file).
20+
that also use the group argument.
21+
Note: by default group is passed as the source file, however it is poor practice to rely on this in the first place.
22+
Instead use the file argument for that.
2123
2224
The default logger doesn't have support for filtering on the `group` argument,
2325
so an `LoggingExtras.EarlyFilteredLogger` can be used. For convenience, a

0 commit comments

Comments
 (0)