Codechange: remove single use IConsoleDebug

This commit is contained in:
rubidium42
2021-06-12 20:45:11 +02:00
committed by rubidium42
parent 6b757c716a
commit 121b037054
3 changed files with 2 additions and 16 deletions

View File

@@ -144,20 +144,6 @@ void CDECL IConsolePrintF(TextColour colour_code, const char *format, ...)
IConsolePrint(colour_code, buf);
}
/**
* It is possible to print debugging information to the console,
* which is achieved by using this function. Can only be used by
* debug() in debug.cpp. You need at least a level 2 (developer) for debugging
* messages to show up
* @param dbg debugging category
* @param string debugging message
*/
void IConsoleDebug(const char *dbg, const char *string)
{
if (_settings_client.gui.developer <= 1) return;
IConsolePrintF(CC_DEBUG, "dbg: [%s] %s", dbg, string);
}
/**
* It is possible to print warnings to the console. These are mostly
* errors or mishaps, but non-fatal. You need at least a level 1 (developer) for