LogFormatter

This base class for LogFormatters implements default funcionality required by a log formatter.

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

Constructors

LogFormatter

Default constructor

Signature:
protected Void LogFormatter()

Properties

Header

Header text.

Signature:
public String Header { get; set; }

Name

Name of this formatter.

Signature:
public String Name { get; set; }

Template

Template to format a log entry.

Signature:
public String Template { get; set; }

Methods

Format

Formats the entry to be written.

Signature:
public String Format(entry)
Parameters
Name Type Summary
entry LogEntry