Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
raphasampaio committed Dec 12, 2023
1 parent 6103a36 commit 3ab5550
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/logger.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ function choose_terminal_io(level::LogLevel)
end

function get_level_string(level::LogLevel)
if level == SUCCESS_LEVEL
return "Success"
return if level == SUCCESS_LEVEL
"Success"
elseif level == FATAL_ERROR_LEVEL
return "Fatal Error"
"Fatal Error"
elseif Logging.Debug < level < Logging.Info
return "Debug Level"
"Debug Level"
else
return string(level)
string(level)
end
end

Expand Down

0 comments on commit 3ab5550

Please sign in to comment.