hy3/src/log.hpp
2023-09-20 22:55:16 -07:00

9 lines
269 B
C++

#pragma once
#include <hyprland/src/debug/Log.hpp>
template <typename... Args>
void hy3_log(LogLevel level, std::format_string<Args...> fmt, Args&&... args) {
auto msg = std::vformat(fmt.get(), std::make_format_args(args...));
Debug::log(level, "[hy3] {}", msg);
}