#pragma once #include #include #include #include // TODO: Take StringView here instead. void dbgln(glcr::StringView string); template void dbgln(const glcr::StringView& fmt, Args... args) { dbgln(StrFormat(fmt, args...)); } // Checks that the code is ok. // if not exits the process. void check(uint64_t); void crash(const char*, z_err_t);