| 54 | } |
| 55 | |
| 56 | std::string getEncryptDbgTraceKeyWithTS(std::string_view prefix, |
| 57 | EncryptCipherDomainId domainId, |
| 58 | StringRef domainName, |
| 59 | EncryptCipherBaseKeyId baseCipherId, |
| 60 | int64_t refAfterTS, |
| 61 | int64_t expAfterTS) { |
| 62 | // Construct the TraceEvent field key ensuring its uniqueness and compliance to TraceEvent field validator and log |
| 63 | // parsing tools |
| 64 | boost::format fmter("%s.%lld.%s.%llu.%lld.%lld"); |
| 65 | return boost::str( |
| 66 | boost::format(fmter % prefix % domainId % domainName.toString() % baseCipherId % refAfterTS % expAfterTS)); |
| 67 | } |
no test coverage detected