Legacy: PrintError routine - AurieFramework/YYToolkit GitHub Wiki
Homepage.
You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see theWrites formatted output to stdout, without breaking console input / output like regular printf.
The formatting is as follows: [file.cpp(1337)] => My formatted message
.
Syntax
void PrintMessage(
const char* File,
const int& Line,
const char* fmt,
...
);
Parameters
File
The file in which this error occurred. Plugins should use the __FILE__
macro.
Line
The line at which this error occurred. Plugins should use the __LINE__
macro.
fmt
A format string to be printed - the formatting is same as in printf
... (variadic arguments)
Other arguments, the types to pass may change depending on the format string - same as in printf