public void OnStop(Activity activity, object?payload) { if (ShouldReplayEvents(activity)) { m_logReplayer.ReplayLogs(activity); } }
public void OnStop(Activity activity, object?payload) { if (m_options.Value.ReplayLogsInCaseOfError && ShouldReplayEvents(activity)) { m_logReplayer.ReplayLogs(activity); } }