Class TraceManager
- Namespace
- Microsoft.Practices.EnterpriseLibrary.Logging
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Represents a performance tracing class to log method entry/exit and duration.
public class TraceManager
- Inheritance
-
TraceManager
- Inherited Members
Constructors
TraceManager(LogWriter)
Create an instance of TraceManager giving the LogWriter.
public TraceManager(LogWriter logWriter)
Parameters
Properties
LogWriter
For testing purpose
public LogWriter LogWriter { get; }
Property Value
Methods
StartTrace(string)
Initializes a new instance of the Tracer class with the given logical operation name.
public Tracer StartTrace(string operation)
Parameters
Returns
StartTrace(string, Guid)
Initializes a new instance of the Tracer class with the given logical operation name and activity id.
public Tracer StartTrace(string operation, Guid activityId)