Skip to content

Commit 794890a

Browse files
committed
Minor updates from review
1 parent 99a2f08 commit 794890a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ ConsoleLogger(stream, min_level) =
5050

5151
# Usage
5252
Load the package with `using LoggingExtras`.
53-
You likely also want to load the `Logging` standard lib.
54-
Loggers can be constructed and used like normal.
53+
For convenience, this also re-exports the `Logging` standard library.
5554

5655

5756
### Basics of working with loggers

src/LoggingExtras.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ export TeeLogger, TransformerLogger, FileLogger,
1616
# Re export Logging.jl from stdlib
1717
# list is stable between julia 1.0 and 1.6
1818
# https://github.com/JuliaLang/julia/blob/release-1.6/stdlib/Logging/src/Logging.jl#L32-L46
19-
import Logging: @debug, @info, @warn, @error, @logmsg,
20-
with_logger, current_logger, disable_logging, ConsoleLogger
19+
using Logging
2120

2221
export AbstractLogger, LogLevel, NullLogger,
2322
@debug, @info, @warn, @error, @logmsg,

0 commit comments

Comments
 (0)