hy3/src/log.hpp

10 lines
269 B
C++
Raw Normal View History

#pragma once
#include <hyprland/src/debug/Log.hpp>
template <typename... Args>
2023-09-20 22:55:16 -07:00
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);
}