@@ -374,23 +374,23 @@ function logmsg_code(_module, file, line, level, message, exs...)
374374 let
375375 level = $ level
376376 # simplify std_level code emitted, if we know it is one of our global constants
377- std_level = $ (level isa Symbol ? :level : :(level isa LogLevel ? level : convert (LogLevel, level):: LogLevel ))
378- if std_level >= _min_enabled_level[]
377+ std_level = $ (level isa Symbol ? :level : :(level isa Base . CoreLogging . LogLevel ? level : convert (Base . CoreLogging . LogLevel, level):: Base.CoreLogging. LogLevel ))
378+ if std_level >= Base . CoreLogging . _min_enabled_level[]
379379 group = $ (log_data. _group)
380380 _module = $ (log_data. _module)
381- logger = current_logger_for_env (std_level, group, _module)
381+ logger = Base . CoreLogging . current_logger_for_env (std_level, group, _module)
382382 if ! (logger === nothing )
383383 id = $ (log_data. _id)
384384 # Second chance at an early bail-out (before computing the message),
385385 # based on arbitrary logger-specific logic.
386- if invokelatest (shouldlog, logger, level, _module, group, id)
386+ if invokelatest (Base . CoreLogging . shouldlog, logger, level, _module, group, id)
387387 file = $ (log_data. _file)
388388 if file isa String
389389 file = Base. fixup_stdlib_path (file)
390390 end
391391 line = $ (log_data. _line)
392392 local msg, kwargs
393- $ (logrecord) && invokelatest (handle_message,
393+ $ (logrecord) && invokelatest (Base . CoreLogging . handle_message,
394394 logger, level, msg, _module, group, id, file, line;
395395 kwargs... )
396396 end
0 commit comments