SetStatus
Applicability
Product |
Supported (Yes/No) |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Sets the Span status.
Prototype
1 | Span& SetStatus(const bool isSuccess, const std::string& msg) |
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
isSuccess |
Input |
Service status, which can be true or false. |
msg |
Input |
Status information. |
Return Value Description
Returns a reference to the Span class object, which supports chained calls.
Parent topic: Span Class