net.sourceforge.acelogger.appender
Interface Appender

All Superinterfaces:
Identifiable
All Known Implementing Classes:
BaseAppender, EmptyAppender, MultipleAppender, PrintStreamAppender, SystemErrAppender, SystemOutAppender, TextFileAppender

public interface Appender
extends Identifiable

A appender interface that provides methods needed to manage appending log calls, abstracting the configuration to the framework.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Method Summary
 void appendFooter()
          Appends a footer to this appender.
 void appendHeader()
          Appends a header to this appender.
 void appendLog(LogEvent call)
          Appends a log call using this appender.
 void close()
          This method is responsible for termination and deallocation of any resource used by this appender.
 void open()
          This method is responsible for allocation and preparation of any resource used by this appender.
 
Methods inherited from interface net.sourceforge.acelogger.Identifiable
getIdentifier
 

Method Detail

appendLog

void appendLog(LogEvent call)
Appends a log call using this appender.

Parameters:
call - The log call to be appended.
Since:
1.0.0

appendHeader

void appendHeader()
Appends a header to this appender.

Since:
1.0.0

appendFooter

void appendFooter()
Appends a footer to this appender.

Since:
1.0.0

open

void open()
This method is responsible for allocation and preparation of any resource used by this appender.

Since:
1.0.0

close

void close()
This method is responsible for termination and deallocation of any resource used by this appender.

Since:
1.0.0


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.