\brief Log \a key as a string.
| 106 | |
| 107 | //! \brief Log \a key as a string. |
| 108 | void WriteError(IntermediateDumpKey key) { |
| 109 | CRASHPAD_RAW_LOG("Unable to write key"); |
| 110 | switch (key) { |
| 111 | // clang-format off |
| 112 | #define CASE_KEY(Name, Value) \ |
| 113 | case IntermediateDumpKey::Name: \ |
| 114 | CRASHPAD_RAW_LOG(#Name); \ |
| 115 | break; |
| 116 | INTERMEDIATE_DUMP_KEYS(CASE_KEY) |
| 117 | #undef CASE_KEY |
| 118 | // clang-format on |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | //! \brief Call AddProperty with raw error log. |
| 123 | //! |
no outgoing calls
no test coverage detected