Changeset 18915


Ignore:
Timestamp:
10/18/17 13:27:41 (7 years ago)
Author:
tbretz
Message:
Minor improvements to the log output - being more verbose
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/drivectrl.cc

    r18820 r18915  
    827827            if (mode)   out << " ManualMove";
    828828
    829             Info("New system status["+to_string(node)+"]:"+out.str());
     829            Info("New system status["+string(node==kNodeAz?"Az":"Zd")+"]:"+out.str());
    830830            if (fVerbosity>1)
    831831                Out() << "PDO3[" << (int)node << "] StatusSys=" << hex << (int)fStatusSys << dec << endl;
     
    850850            if (power)  out << " PowerOn";
    851851
    852             Info("New axis status["+to_string(node)+"]:"+out.str());
     852            Info("New axis status["+string(node==kNodeAz?"Az":"Zd")+"]:"+out.str());
    853853            if (fVerbosity>1)
    854854                Out() << "PDO3[" << (int)node << "] StatusAxis=" << hex << (int)fStatusAxis[node/2] << dec << endl;
     
    957957        ostringstream out;
    958958        out << "IndraDrive ";
    959         out << (node==1?"Az":"Zd");
     959        out << (node==kNodeAz?"Az":"Zd");
    960960        out << " [" << hex << fErrCode[node/2];
    961961        out << "]: ";
Note: See TracChangeset for help on using the changeset viewer.