public interface IAppender
Implement this interface for your own strategies for printing log entries.
Modifier and Type | Method and Description |
---|---|
void |
append(LogEntry entry)
Log the specified log entry in Appender specific way.
|
void |
appendHeader()
Starts log file with specific header.
|
IFormatter |
getFormatter()
Gets or sets the IFormatter.
|
void |
setFormatter(IFormatter value)
Gets or sets the IFormatter.
|
void append(LogEntry entry)
Log the specified log entry in Appender specific way.
entry
- Contains a log message.void appendHeader()
Starts log file with specific header.
IFormatter getFormatter()
Gets or sets the IFormatter.
void setFormatter(IFormatter value)
Gets or sets the IFormatter.