LogMethodExecution Class

Provides methods to log the entry and exit of a block of code.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Logger LogMethodExecution

Namespace:  Scribe.Core.ConnectorApi.Logger

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

public   class   LogMethodExecution : IDisposable

The LogMethodExecution type exposes the following members.

Constructors

 

Name

Description

Public method

LogMethodExecution(String, String)

Used to add entry and exit tracing to a method. When wrapped in a using statement the exit point will be written during the dispose.

Public method

LogMethodExecution(String, String, Object)

Used to add entry and exit tracing to a method. When wrapped in a using statement the exit point will be written during the dispose.

Methods

 

Name

Description

Public method

Dispose

This method will write the method end.

Public method

Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

See

Scribe.Core.ConnectorApi.Logger Namespace