Tidied logs

This commit is contained in:
Nav
2022-09-24 18:35:58 +01:00
parent af2fcde031
commit c7af236646
3 changed files with 5 additions and 3 deletions

View File

@@ -43,9 +43,9 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
Logger::warning("Program memory updated");
targetControllerConsole.disableProgrammingMode();
Logger::info("Resetting target");
Logger::warning("Resetting target");
targetControllerConsole.resetTarget();
Logger::warning("Target reset complete");
Logger::info("Target reset complete");
debugSession.connection.writePacket(OkResponsePacket());

View File

@@ -23,7 +23,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
Logger::debug("Handling ResetTarget packet");
try {
Logger::warning("Resetting target");
targetControllerConsole.resetTarget();
Logger::info("Target reset complete");
debugSession.connection.writePacket(ResponsePacket(Packet::toHex(
"Target reset complete - use the 'continue' command to begin execution.\n"

View File

@@ -16,7 +16,7 @@ namespace Bloom
} catch (std::exception& exception) {
this->state = InsightWorkerTaskState::FAILED;
Logger::error("InsightWorker task failed - " + std::string(exception.what()));
Logger::debug("InsightWorker task failed - " + std::string(exception.what()));
emit this->failed(QString::fromStdString(exception.what()));
}