mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
9 lines
269 B
C++
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);
|
|
}
|