|
QSDK 1.1 Documentation |
Defines | |
| #define | EPF Utils::LineLogLevel(Utils::errorClass,-3,__FILE__,__LINE__).print |
| #define | EPF0(cat, format) |
| #define | EPF1(cat, format, arg) |
| #define | EPF2(cat, format, arg1, arg2) |
| #define | EPF3(cat, format, arg1, arg2, arg3) |
| #define | EPF4(cat, format, arg1, arg2, arg3, arg4) |
| #define | EPF5(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. |
|
|
EPF logs an error message using a variable number of arguments to the format string. This macro is more flexible than EPF0, EPF1, ..., which expect you to supply the stated number of parameters and you are advised to use it instead of them. Example 1: EPF("tutorial", "Can't open database '%%s'", dbName); Example 2: EPF(logger, "Can't open database '%%s'", dbName); |
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format)
|
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format, arg)
|
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format, arg1, arg2)
|
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format, arg1, arg2, arg3)
|
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format, arg1, arg2, arg3, arg4)
|
|
|
Value: Utils::Log::theLog()->print(Utils::errorClass, cat, \ -3, __FILE__, __LINE__, \ format, arg1, arg2, arg3, arg4, arg5)
|
|
|
|
Qube Software Limited © 2000-2004
|
|