Log pattern as hex string