aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/Log.hpp
blob: c2156cda411ccb86bd4b93bc51f9c83babbb871f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "Log.h"

namespace crepe {

template <class... Args>
void Log::logf(std::format_string<Args...> fmt, Args &&... args) {
	Log::logf(Level::INFO, fmt, std::forward<Args>(args)...);
}

template <class... Args>
void Log::logf(const Level & level, std::format_string<Args...> fmt, Args &&... args) {
	Log::log(level, std::format(fmt, std::forward<Args>(args)...));
}

} // namespace crepe