Skip to content

Commit

Permalink
add back a function people tend to use in the logging code (#54597)
Browse files Browse the repository at this point in the history
Apparently, people use this function so let's put it back to reduce
unnecessary breakage. This was moved in
#54428.

Co-authored-by: KristofferC <kristoffer.carlsson@juliacomputing.com>
  • Loading branch information
2 people authored and DilumAluthge committed Jun 3, 2024
1 parent 1d54223 commit f273f36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdlib/Logging/src/Logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ const AboveMaxLevel = Base.CoreLogging.AboveMaxLevel
using Base.CoreLogging:
closed_stream, ConsoleLogger, default_metafmt

# Some packages use `Logging.default_logcolor`
const default_logcolor = Base.CoreLogging.default_logcolor

export
AbstractLogger,
LogLevel,
Expand Down

0 comments on commit f273f36

Please sign in to comment.