net.sourceforge.acelogger.formatter
Class EmptyFormatter

java.lang.Object
  extended by net.sourceforge.acelogger.formatter.EmptyFormatter
All Implemented Interfaces:
Formatter, Identifiable

public class EmptyFormatter
extends Object
implements Formatter

A implementation of Formatter that do nothing.

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

Field Summary
 
Fields inherited from interface net.sourceforge.acelogger.formatter.Formatter
NO_FORMATTER
 
Constructor Summary
EmptyFormatter(String identifier)
          Constructs a EmptyFormatter using the supplied identifier.
 
Method Summary
 String formatLogCall(LogEvent call)
          Formats a log call to it's string representation.
 String getIdentifier()
          Gets a String that identifies this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyFormatter

public EmptyFormatter(String identifier)
Constructs a EmptyFormatter using the supplied identifier.

Parameters:
identifier - The identifier of this formatter.
Since:
1.0.0
Method Detail

getIdentifier

public final String getIdentifier()
Gets a String that identifies this object.

Specified by:
getIdentifier in interface Identifiable
Returns:
The identifier of this object.

formatLogCall

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

Specified by:
formatLogCall in interface Formatter
Parameters:
call - The log call, containing the message, parameters and log location information.
Returns:
The string representation of the log call.


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