Skip to content

Commit

Permalink
v tretiy raz zabrosil starik nevod
Browse files Browse the repository at this point in the history
  • Loading branch information
pogudingleb committed Nov 12, 2023
1 parent c54df7f commit 2c11a6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ end
const _groebner_loglevel = Ref{Int}(0)

function restart_logging(; loglevel = Logging.Info)
_si_logger[] = Logging.ConsoleLogger(loglevel, show_limited = false)
_si_logger[] = @static if VERSION >= v"1.7.0"
Logging.ConsoleLogger(loglevel, show_limited = false)
else
Logging.ConsoleLogger()
end
for r in _runtime_rubrics
_runtime_logger[r] = 0
end
Expand Down

0 comments on commit 2c11a6e

Please sign in to comment.