|
StripeKit 0.1.1
Stripe integration toolkit for C++
|
Extra identifiers attached to a log entry. More...
#include <Logging.h>
Public Attributes | |
| std::string | request_id |
| Stripe request id for an outbound call, of the form "req_...". | |
| std::string | event_id |
| Stripe event id for webhook work, of the form "evt_...". | |
| std::string | webhook_type |
| Stripe event type, for example "invoice.paid". | |
| std::optional< int > | retry_attempt |
| Which attempt this is, for operations that are retried. | |
| std::string | adapter_name |
| Name of the adapter that produced the entry. | |
Extra identifiers attached to a log entry.
These are the fields worth searching on when tracing a payment through Stripe's dashboard and the application's own logs. A logger that supports structured output should emit them as separate fields.
Fields that do not apply are left empty.
| std::string stripekit::LogContext::request_id |
| std::string stripekit::LogContext::event_id |
| std::string stripekit::LogContext::webhook_type |
| std::optional<int> stripekit::LogContext::retry_attempt |
| std::string stripekit::LogContext::adapter_name |