Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 14 files). Show all
Unified · Split
| @@ -16,7 +16,7 @@ · 15 unmodified lines | ||
| 16 | 16 | #include <AccountManager.h> |
| 17 | 17 | #include <Assignment.h> |
| 18 | 18 | #include <HifiConfigVariantMap.h> |
| 19 | −#include <Logging.h> | |
| 19 | +#include <LogHandler.h> | |
| 20 | 20 | #include <LogUtils.h> |
| 21 | 21 | #include <NodeList.h> |
| 22 | 22 | #include <PacketHeaders.h> |
| @@ -51,7 +51,7 @@ AssignmentClient::AssignmentClient(int &argc, char **argv) : · 28 unmodified lines | ||
| 51 | 51 | connect(&_shutdownEventListener, SIGNAL(receivedCloseEvent()), SLOT(quit())); |
| 52 | 52 | |
| 53 | 53 | // set the logging target to the the CHILD_TARGET_NAME |
| 54 | − Logging::setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | |
| 54 | + LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | |
| 55 | 55 | |
| 56 | 56 | const QVariantMap argumentVariantMap = HifiConfigVariantMap::mergeCLParametersWithJSONConfig(arguments()); |
| 57 | 57 | |
| @@ -218,7 +218,7 @@ void AssignmentClient::handleAuthenticationRequest() { · 160 unmodified lines | ||
| 218 | 218 | |
| 219 | 219 | void AssignmentClient::assignmentCompleted() { |
| 220 | 220 | // reset the logging target to the the CHILD_TARGET_NAME |
| 221 | − Logging::setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | |
| 221 | + LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | |
| 222 | 222 | |
| 223 | 223 | qDebug("Assignment finished or never started - waiting for new assignment."); |
| 224 | 224 | |