ITraceTarget

Allows the implementation of trace targets for writing log entries.

Namespace:
Inetdev.Diagnostics.TraceTargets
Type:
Interface
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes

Properties

Formatter

Log 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.