TraceTarget

Abstract base class for implementing Trace Targets.

Namespace:
Inetdev.Diagnostics.TraceTargets
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes
Inherits from:
System.Object
Implements:
Inetdev.Diagnostics.TraceTargets.ITraceTarget

Constructors

TraceTarget

Default constructor

Signature:
protected Void TraceTarget()

Properties

Formatter

Formatter used to format the log entry.

Signature:
public ILogFormatter Formatter { get; set; }

Name

Trace target name.

Signature:
public String Name { get; set; }

Methods

EnsureConfiguration

Check object configuration and prepares the environment if necessary.

Signature:
public Void EnsureConfiguration()

Write

Writes the entry to this trace target.

Signature:
public Void Write(writer, entry)
Parameters
Name Type Summary
writer LogWriter The LogWriter that calls this ITraceTarget.
entry LogEntry A LogEntry to write.