can be made const
This commit is contained in:
@@ -35,7 +35,7 @@ constexpr std::string pFname(std::string_view full) {
|
||||
}
|
||||
|
||||
template <typename... Args>
|
||||
void log(LOG level, const std::source_location& loc, std::format_string<Args...> str, Args&&... args) {
|
||||
void log(const LOG level, const std::source_location& loc, std::format_string<Args...> str, Args&&... args) {
|
||||
constexpr std::string_view reset = "\033[0m";
|
||||
constexpr std::string_view pattern = "[{}{}{}] ";
|
||||
std::string_view color;
|
||||
|
||||
Reference in New Issue
Block a user