public string SayHelloWithContext([ActivityTrigger] IDurableActivityContext context) // context version { using var disposable = context.PushLoggerProperties(); var name = context.GetInput <string>(); _log.Trace(LogEventLevel.Information, message: $"Saying hello to {name}."); return($"Hello {name}!"); }