Skip to content

DurableTaskLoggerExtensions Methods

Provides logging which reports each event of a durable task once.

ReplaySafe(ILogger)

staticextension
View source
public static ILogger ReplaySafe(this ILogger logger)
Returns a logger which writes to logger except while the calling code replays a durable task's recorded operations.

Parameters

loggerILogger
The logger to write to.

Returns

A logger which skips events while DurableTaskContext is true.