durable-execution-sdk-js.durablelogger.configuredurableloggingcontext.md
December 2, 2025 ยท View on GitHub
Home > @aws/durable-execution-sdk-js > DurableLogger > configureDurableLoggingContext
DurableLogger.configureDurableLoggingContext() method
This function will be called by the language SDK before logging any records. The durableLoggingContext should be stored and used by custom loggers to enable logging of custom durable metadata such as operationId, attempt, executionArn, etc.
Signature:
configureDurableLoggingContext?(durableLoggingContext: DurableLoggingContext): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
durableLoggingContext |
The logging context provided by the Durable Execution Language SDK |
Returns:
void