Added logSerial function