From e3051416b5f37acfd9fe91796718eddb81f89486 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 28 May 2024 21:04:23 +0200 Subject: [PATCH] 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 https://github.com/JuliaLang/julia/pull/54428. Co-authored-by: KristofferC --- stdlib/Logging/src/Logging.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/Logging/src/Logging.jl b/stdlib/Logging/src/Logging.jl index 72924e047a9ef..192885f2f94b7 100644 --- a/stdlib/Logging/src/Logging.jl +++ b/stdlib/Logging/src/Logging.jl @@ -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,