PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Level­Source Class / Log­Level­Source Methods / Log­Level­Source.​Log­Activity­Async Method

LogLevelSource.LogActivityAsync Method

Overload List
  NameDescription
Public methodLogActivityAsync<TDescription, TResult>(TDescription, Func<Task<TResult>>, OpenActivityOptions)
Executes an asynchronous non-void delegate and logs its execution.
Public methodLogActivityAsync<TDescription>(TDescription, Func<Task>, OpenActivityOptions)
Executes an asynchronous void delegate and logs its execution.
See Also