PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logger Class/Logger Methods/Logger.​Open­Activity Method

Logger.OpenActivity Method

Overload List
  NameDescription
Public methodOpenActivity(String)
Opens a custom activity with an optional description, but without parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity(String, CallerInfo)
Public methodOpenActivity(String, Object[])
Opens a custom activity with an array of parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1>(String, T1)
Opens a custom activity with a description containing 1 parameter. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity(LogActivityOptions, String)
Opens a custom activity with an optional description, but without parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity(String, Object[], CallerInfo)
Public methodOpenActivity<T1>(String, T1, CallerInfo)
Public methodOpenActivity<T1, T2>(String, T1, T2)
Opens a custom activity with a description containing 2 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity(LogActivityOptions, String, CallerInfo)
Public methodOpenActivity(LogActivityOptions, String, Object[])
Opens a custom activity with an array of parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1>(LogActivityOptions, String, T1)
Opens a custom activity with a description containing 1 parameter. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2>(String, T1, T2, CallerInfo)
Public methodOpenActivity<T1, T2, T3>(String, T1, T2, T3)
Opens a custom activity with a description containing 3 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity(LogActivityOptions, String, Object[], CallerInfo)
Public methodOpenActivity<T1>(LogActivityOptions, String, T1, CallerInfo)
Public methodOpenActivity<T1, T2>(LogActivityOptions, String, T1, T2)
Opens a custom activity with a description containing 2 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3>(String, T1, T2, T3, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Opens a custom activity with a description containing 4 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2>(LogActivityOptions, String, T1, T2, CallerInfo)
Public methodOpenActivity<T1, T2, T3>(LogActivityOptions, String, T1, T2, T3)
Opens a custom activity with a description containing 3 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Opens a custom activity with a description containing 5 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3>(LogActivityOptions, String, T1, T2, T3, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4>(LogActivityOptions, String, T1, T2, T3, T4)
Opens a custom activity with a description containing 4 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Opens a custom activity with a description containing 6 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4>(LogActivityOptions, String, T1, T2, T3, T4, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5>(LogActivityOptions, String, T1, T2, T3, T4, T5)
Opens a custom activity with a description containing 5 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Opens a custom activity with a description containing 7 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5>(LogActivityOptions, String, T1, T2, T3, T4, T5, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6)
Opens a custom activity with a description containing 6 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)
Opens a custom activity with a description containing 8 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7)
Opens a custom activity with a description containing 7 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Opens a custom activity with a description containing 9 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8)
Opens a custom activity with a description containing 8 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Opens a custom activity with a description containing 10 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Opens a custom activity with a description containing 9 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Opens a custom activity with a description containing 10 parameters. The activity must be synchronous, i.e. must fully execute on the same thread and must not be interrupted by an await or yield return operator.
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
See Also