net.sourceforge.acelogger.formatter
Interface Formatter

All Superinterfaces:
Identifiable
All Known Implementing Classes:
BaseFormatter, EmptyFormatter, MessageOnlyFormatter, PatternFormatter, SimpleFormatter

public interface Formatter
extends Identifiable

A formatting interface that provides the methods needed to format log calls to it's string representation, abstracting the configuration to the framework.

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

Field Summary
static Formatter NO_FORMATTER
          A formatter suitable to indicate that no formatter was found.
 
Method Summary
 String formatLogCall(LogEvent call)
          Formats a log call to it's string representation.
 
Methods inherited from interface net.sourceforge.acelogger.Identifiable
getIdentifier
 

Field Detail

NO_FORMATTER

static final Formatter NO_FORMATTER
A formatter suitable to indicate that no formatter was found.

Method Detail

formatLogCall

String formatLogCall(LogEvent call)
Formats a log call to it's string representation.

Parameters:
call - The log call, containing the message, parameters and log location information.
Returns:
The string representation of the log call.
Since:
1.0.0


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