Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity Class

LogActivity Class

Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Logger
    PostSharp.Patterns.Diagnostics.LogActivity

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public class LogActivity : Logger, 
	IDisposable

The LogActivity type exposes the following members.

Constructors
  NameDescription
Public methodLogActivity
Initializes a new instance of the LogActivity class
Properties
  NameDescription
Public propertyContext
Gets the ILoggingContext of the current Logger, or null if no context is associated with the current Logger.
(Inherited from Logger.)
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodForCurrentContext
Gets a Logger for the current logging context, i.e. for the topmost logged method or custom activity.
(Inherited from Logger.)
Public methodIsEnabled
Determines whether logging is enabled in the current Logger for a given LogLevel.
(Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity(String, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity(String, Object[], CallerInfo) (Inherited from Logger.)
Public methodOpenActivity(LogActivityOptions, String, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity(LogActivityOptions, String, Object[], CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1>(String, T1, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1>(LogActivityOptions, String, T1, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
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) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2>(String, T1, T2, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2>(LogActivityOptions, String, T1, T2, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3>(String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3>(LogActivityOptions, String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4>(LogActivityOptions, String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5>(LogActivityOptions, String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
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.
(Inherited from Logger.)
Public methodOpenActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity(String)
Opens an asynchronous custom activity with an optional description, but without parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity(String, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity(String, Object[])
Opens an asynchronous custom activity with an optional description and an array of parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity(LogActivityOptions, String)
Opens an asynchronous custom activity with an optional description, but without parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity(String, Object[], CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity(LogActivityOptions, String, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity(LogActivityOptions, String, Object[])
Opens an asynchronous custom activity with an optional description and an array of parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity(LogActivityOptions, String, Object[], CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1>(String, T1)
Opens an asynchronous custom activity with a description containing 1 parameter.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1>(String, T1, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1>(LogActivityOptions, String, T1)
Opens an asynchronous custom activity with a description containing 1 parameter.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1>(LogActivityOptions, String, T1, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Opens an asynchronous custom activity with a description containing 10 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Opens an asynchronous custom activity with a description containing 10 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2>(String, T1, T2)
Opens an asynchronous custom activity with a description containing 2 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2>(String, T1, T2, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2>(LogActivityOptions, String, T1, T2)
Opens an asynchronous custom activity with a description containing 2 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2>(LogActivityOptions, String, T1, T2, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3>(String, T1, T2, T3)
Opens an asynchronous custom activity with a description containing 3 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3>(String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3>(LogActivityOptions, String, T1, T2, T3)
Opens an asynchronous custom activity with a description containing 3 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3>(LogActivityOptions, String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Opens an asynchronous custom activity with a description containing 4 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4>(LogActivityOptions, String, T1, T2, T3, T4)
Opens an asynchronous custom activity with a description containing 4 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4>(LogActivityOptions, String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Opens an asynchronous custom activity with a description containing 5 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5>(LogActivityOptions, String, T1, T2, T3, T4, T5)
Opens an asynchronous custom activity with a description containing 5 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5>(LogActivityOptions, String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Opens an asynchronous custom activity with a description containing 6 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6)
Opens an asynchronous custom activity with a description containing 6 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Opens an asynchronous custom activity with a description containing 7 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7)
Opens an asynchronous custom activity with a description containing 7 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)
Opens an asynchronous custom activity with a description containing 8 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8)
Opens an asynchronous custom activity with a description containing 8 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Opens an asynchronous custom activity with a description containing 9 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Opens an asynchronous custom activity with a description containing 9 parameters.
(Inherited from Logger.)
Public methodOpenAsyncActivity<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogActivityOptions, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
Public methodResume
Resumes the current async activity after it has been suspended by a call to Suspend(). This method is typically invoked after an async method is resumed, just after the await operator. In most cases, it is more convenient to use the [!:Await(Task)] method.
Public methodSetException(Exception)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with a given Exception.
Public methodSetException(Exception, CallerInfo)
Public methodSetFailure()
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure with the default failure message.
Public methodSetFailure(String)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a parameterless failure message.
Public methodSetFailure(CallerInfo)
Public methodSetFailure(String, CallerInfo)
Public methodSetFailure(String, Object[])
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with an array of parameters.
Public methodSetFailure(String, Object[], CallerInfo)
Public methodSetFailure<T1>(String, T1)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 1 parameter.
Public methodSetFailure<T1>(String, T1, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 10 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
Public methodSetFailure<T1, T2>(String, T1, T2)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 2 parameters.
Public methodSetFailure<T1, T2>(String, T1, T2, CallerInfo)
Public methodSetFailure<T1, T2, T3>(String, T1, T2, T3)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 3 parameters.
Public methodSetFailure<T1, T2, T3>(String, T1, T2, T3, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 4 parameters.
Public methodSetFailure<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 5 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 6 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 7 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 8 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 9 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodSetSuccess()
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success with the default success message.
Public methodSetSuccess(String)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a parameterless success message.
Public methodSetSuccess(CallerInfo)
Public methodSetSuccess(String, CallerInfo)
Public methodSetSuccess(String, Object[])
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with an array of parameters.
Public methodSetSuccess(String, Object[], CallerInfo)
Public methodSetSuccess<T1>(String, T1)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 1 parameter.
Public methodSetSuccess<T1>(String, T1, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 10 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
Public methodSetSuccess<T1, T2>(String, T1, T2)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 2 parameters.
Public methodSetSuccess<T1, T2>(String, T1, T2, CallerInfo)
Public methodSetSuccess<T1, T2, T3>(String, T1, T2, T3)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 3 parameters.
Public methodSetSuccess<T1, T2, T3>(String, T1, T2, T3, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 4 parameters.
Public methodSetSuccess<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 5 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 6 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 7 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 8 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success and specifies a success message with 9 parameters.
Public methodSetSuccess<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodSuspend
Suspends the current async activity. This method is typically invoked before an async method is suspended, just before the await keyword. The activity must than be resumed by a call of the Resume() method. In most cases, it is more convenient to use the [!:Await(Task)] method.
Public methodWrite(LogLevel, String)
Writes a custom log record without parameters.
(Inherited from Logger.)
Public methodWrite(LogLevel, String, CallerInfo) (Inherited from Logger.)
Public methodWrite(LogLevel, String, Object[])
Writes a custom log record with an array of parameters.
(Inherited from Logger.)
Public methodWrite(LogLevel, String, Object[], CallerInfo) (Inherited from Logger.)
Public methodWrite<T1>(LogLevel, String, T1)
Writes a custom log record with 1 parameter.
(Inherited from Logger.)
Public methodWrite<T1>(LogLevel, String, T1, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Writes a custom log record with 10 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2>(LogLevel, String, T1, T2)
Writes a custom log record with 2 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2>(LogLevel, String, T1, T2, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3>(LogLevel, String, T1, T2, T3)
Writes a custom log record with 3 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3>(LogLevel, String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4>(LogLevel, String, T1, T2, T3, T4)
Writes a custom log record with 4 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4>(LogLevel, String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5>(LogLevel, String, T1, T2, T3, T4, T5)
Writes a custom log record with 5 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5>(LogLevel, String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6>(LogLevel, String, T1, T2, T3, T4, T5, T6)
Writes a custom log record with 6 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6>(LogLevel, String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7)
Writes a custom log record with 7 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8)
Writes a custom log record with 8 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Writes a custom log record with 9 parameters.
(Inherited from Logger.)
Public methodWrite<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
Public methodWriteException(LogLevel, Exception, String)
Writes a custom record without parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException(LogLevel, Exception, String, CallerInfo) (Inherited from Logger.)
Public methodWriteException(LogLevel, Exception, String, Object[])
Writes a custom record with an array of parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException(LogLevel, Exception, String, Object[], CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1>(LogLevel, Exception, String, T1)
Writes a custom log record with 1 parameter and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1>(LogLevel, Exception, String, T1, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Writes a custom log record with 10 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2>(LogLevel, Exception, String, T1, T2)
Writes a custom log record with 2 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2>(LogLevel, Exception, String, T1, T2, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3>(LogLevel, Exception, String, T1, T2, T3)
Writes a custom log record with 3 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3>(LogLevel, Exception, String, T1, T2, T3, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4>(LogLevel, Exception, String, T1, T2, T3, T4)
Writes a custom log record with 4 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4>(LogLevel, Exception, String, T1, T2, T3, T4, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5>(LogLevel, Exception, String, T1, T2, T3, T4, T5)
Writes a custom log record with 5 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5>(LogLevel, Exception, String, T1, T2, T3, T4, T5, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6)
Writes a custom log record with 6 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7)
Writes a custom log record with 7 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8)
Writes a custom log record with 8 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo) (Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Writes a custom log record with 9 parameters and associates it with an Exception.
(Inherited from Logger.)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo) (Inherited from Logger.)
Public methodWriteExecutionPoint()
Emits a log record with the source file and line of the caller.
(Inherited from Logger.)
Public methodWriteExecutionPoint(CallerInfo) (Inherited from Logger.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also