+ switch (type)
+ {
+ case WARNING:
+ logWarning("%s", text1.c_str());
+ logWarning("%s", text2.c_str());
+ break;
+ case CRITICAL:
+ logError("%s", text1.c_str());
+ logError("%s", text2.c_str());
+ break;
+ default:
+ logInfo("%s", text1.c_str());
+ logInfo("%s", text2.c_str());
+ break;
+ }
+