Rename ShowInfo to ShowInfoI, add ShowInfo fmt macro

This commit is contained in:
Jonathan G Rennison
2024-01-15 17:26:09 +00:00
parent fe2f2207c1
commit 3af99bd2dc
6 changed files with 18 additions and 11 deletions

View File

@@ -128,9 +128,14 @@ std::string GetDebugString();
}
void ShowInfo(const char *str);
void ShowInfoI(const char *str);
void CDECL ShowInfoF(const char *str, ...) WARN_FORMAT(1, 2);
inline void ShowInfoI(const std::string &str)
{
ShowInfoI(str.c_str());
}
struct log_prefix {
const char *GetLogPrefix();