Functions
Setup
Parameters
detailsJSON. Optional additional information provided by the user to add context for assertion failures. The information that is logged will appear in a triage report, under the details section of the generated property. Normally the values passed to
details are evaluated at runtime. If you do not wish to provide details, then pass {} as the parameter.
The type of details is std::map<std::string, antithesis::ValueType> where antithesis::ValueType is a std::variant consisting of many common types, including a nested JSON type.
You can specify details using initialization syntax:
details, which requires the identifier antithesis::JSON:
Send event
Parameters
nameconst char*. The name of the event that you are logging. This name will appear in the logs section of a triage report.
detailsJSON. Optional additional information provided by the user to add context for assertion failures. The information that is logged will appear in a triage report, under the details section of the generated property. Normally the values passed to
details are evaluated at runtime. If you do not wish to provide details, then pass {} as the parameter.
The type of details is std::map<std::string, antithesis::ValueType> where antithesis::ValueType is a std::variant consisting of many common types, including a nested JSON type.
You can specify details using initialization syntax:
details, which requires the identifier antithesis::JSON:
Common parameters
detailsJSON. Optional additional information provided by the user to add context for assertion failures. The information that is logged will appear in a triage report, under the details section of the generated property. Normally the values passed to
details are evaluated at runtime. If you do not wish to provide details, then pass {} as the parameter.
The type of details is std::map<std::string, antithesis::ValueType> where antithesis::ValueType is a std::variant consisting of many common types, including a nested JSON type.
You can specify details using initialization syntax:
details, which requires the identifier antithesis::JSON: