Class Formatter
Formatter class
Represents the interface for formatting log entry messsages.
public abstract class Formatter : IFormatter
Properties
| Name | Description |
|---|---|
| virtual Footer { get; } | Gets or sets the footer. |
| virtual Header { get; } | Gets or sets the header. |
| virtual LogHeader { get; } | Gets or sets the log header |
| static DefaultFormatter { get; set; } | Gets or sets default formatter |
Methods
| Name | Description |
|---|---|
| virtual Format(DateTime) | Formats a datetime and return a string to be outputted. |
| virtual Format(LogEntry) | Formats a log entry and return a string to be outputted. |
See Also
- interface IFormatter
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email