#pragma once #include #include #include #include namespace Debug { inline bool quiet = false; inline bool verbose = false; template void log(eHyprcursorLogLevel level, PHYPRCURSORLOGFUNC fn, const std::string& fmt, Args&&... args) { if (!fn) return; const std::string LOG = std::vformat(fmt, std::make_format_args(args...)); fn(level, (char*)LOG.c_str()); } };