#pragma once #include #include #include template void log(std::format_string fmt, Args&&... args) { if constexpr (sophia::log::enabled) { sophia::log::print("\033[1;38;2;170;90;255m[editor]\033[0m {}", std::format(fmt, std::forward(args)...)); } }