blob: 58ba475d8e403376fde0959064bfaa801c75de1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#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)...));
}
}
|