refactor(router): added payment_method to golden log line (#3620)

This commit is contained in:
Sahkal Poddar
2024-02-14 15:30:02 +05:30
committed by GitHub
parent 7b1c65b60d
commit c5343dfcc2
3 changed files with 10 additions and 2 deletions

View File

@ -92,7 +92,13 @@ impl Visit for Storage<'_> {
}
}
const PERSISTENT_KEYS: [&str; 4] = ["payment_id", "connector_name", "merchant_id", "flow"];
const PERSISTENT_KEYS: [&str; 5] = [
"payment_id",
"connector_name",
"merchant_id",
"flow",
"payment_method",
];
impl<S: Subscriber + for<'a> tracing_subscriber::registry::LookupSpan<'a>> Layer<S>
for StorageSubscription