Compartilhar via


Tracer Class

Definition

Traces different kinds of events.

public ref class Tracer : Microsoft::VisualStudio::Utilities::ITracer
[Windows::Foundation::Metadata::WebHostHidden]
class Tracer : Microsoft::VisualStudio::Utilities::ITracer
public class Tracer : Microsoft.VisualStudio.Utilities.ITracer
type Tracer = class
    interface ITracer
Public Class Tracer
Implements ITracer
Inheritance
Tracer
Implements

Constructors

Tracer(String)

Initializes a new instance of Tracer with the specified name.

Fields

IndentString

The indent string.

MaxIndent

The maximum indentation level.

Null

The null tracer.

Properties

IndentLevel

The indentation level of the tracer

Level

The verbosity level of the tracer

Source

The TraceSource for the tracer

Methods

Indent(Int32)

Increases the indent level by count

ShouldTrace(TraceEventType)

Determines if trace listeners should be called, based on the trace event type.

ToString()

Converts the tracer to a string.

Trace(TraceEventType, String, Object, Object)

Traces an event.

Trace(TraceEventType, String, Object)

Traces an event.

Trace(TraceEventType, String, Object[])

Traces an event.

Trace(TraceEventType, String)

Traces an event.

TraceError(String, Object, Object)

Traces an error event.

TraceError(String, Object)

Traces an error event.

TraceError(String, Object[])

Traces an Error event.

TraceError(String)

Traces an error event.

TraceException(Exception, TraceEventType)

Traces an exception.

TraceInformation(String, Object, Object)

Traces an information event.

TraceInformation(String, Object)

Traces an information event.

TraceInformation(String, Object[])

Traces an information event.

TraceInformation(String)

Traces an information event.

TraceVerbose(String, Object, Object)

Traces a verbose event.

TraceVerbose(String, Object)

Traces a verbose event.

TraceVerbose(String, Object[])

Traces a verbose event.

TraceVerbose(String)

Traces a verbose event.

TraceWarning(String, Object, Object)

Traces a warning event.

TraceWarning(String, Object)

Traces a warning event.

TraceWarning(String, Object[])

Traces a warning event.

TraceWarning(String)

Traces a warning event.

Applies to