|
QSDK 1.1 Documentation |
Defines | |
| #define | WPF Utils::LineLogLevel(Utils::warningClass,-2,__FILE__,__LINE__).print |
| #define | WPF0(cat, format) |
| #define | WPF1(cat, format, arg) |
| #define | WPF2(cat, format, arg1, arg2) |
| #define | WPF3(cat, format, arg1, arg2, arg3) |
| #define | WPF4(cat, format, arg1, arg2, arg3, arg4) |
| #define | WPF5(cat, format, arg1, arg2, arg3, arg4, arg5) |
| cat | Category. This can be either an unsigned int obtained using Log::getCategory() or a string. |
| format | printf() style format string. Ensure the correct number of '%' operators for the given number of arguments. |
|
|
WPF logs an error message using a variable number of arguments to the format string. This macro is more flexible than WPF0, WPF1, ..., which expect you to supply the stated number of parameters and you are advised to use it instead of them. Example 1: WPF("tutorial", "Can't find object '%%s', using default", (const char*)obj.name()); Example 2: WPF(logger, "Can't find object '%%s', using default", (const char*)obj.name()); |
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format)
|
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format, arg)
|
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format, arg1, arg2)
|
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format, arg1, arg2, arg3)
|
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format, arg1, arg2, arg3, arg4)
|
|
|
Value: Utils::Log::theLog()->print(Utils::warningClass, cat, \ -2, __FILE__, __LINE__, \ format, arg1, arg2, arg3, arg4, arg5)
|
|
|
|
Qube Software Limited © 2000-2004
|
|