[add] Added overloaded logPID() function that accepts MODE and PID as hex values.