Abstract base class for implementing Trace Targets.
Default constructor
protected Void TraceTarget()
Formatter used to format the log entry.
public ILogFormatter Formatter { get; set; }
Trace target name.
public String Name { get; set; }
Check object configuration and prepares the environment if necessary.
public Void EnsureConfiguration()
Writes the entry to this trace target.
public Void Write(writer, entry)
Name | Type | Summary |
---|---|---|
writer | LogWriter | The LogWriter that calls this ITraceTarget. |
entry | LogEntry | A LogEntry to write. |
In this document