Skip to content

Commit f273f36

Browse files
KristofferCKristofferC
authored andcommitted
add back a function people tend to use in the logging code (#54597)
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>
1 parent 1d54223 commit f273f36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/Logging/src/Logging.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ const AboveMaxLevel = Base.CoreLogging.AboveMaxLevel
7070
using Base.CoreLogging:
7171
closed_stream, ConsoleLogger, default_metafmt
7272

73+
# Some packages use `Logging.default_logcolor`
74+
const default_logcolor = Base.CoreLogging.default_logcolor
75+
7376
export
7477
AbstractLogger,
7578
LogLevel,

0 commit comments

Comments
 (0)