-
Notifications
You must be signed in to change notification settings - Fork 13
Legacy: PrintError routine
Archie_UwU edited this page Nov 19, 2023
·
1 revision
You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see the Homepage.
Writes formatted output to stdout, without breaking console input / output like regular printf.
The formatting is as follows: [file.cpp(1337)] => My formatted message
.
void PrintMessage(
const char* File,
const int& Line,
const char* fmt,
...
);
The file in which this error occurred. Plugins should use the __FILE__
macro.
The line at which this error occurred. Plugins should use the __LINE__
macro.
A format string to be printed - the formatting is same as in printf
Other arguments, the types to pass may change depending on the format string - same as in printf