net.sourceforge.acelogger.formatter
Class SimpleFormatter
java.lang.Object
net.sourceforge.acelogger.formatter.BaseFormatter
net.sourceforge.acelogger.formatter.SimpleFormatter
- All Implemented Interfaces:
- Formatter, Identifiable
public class SimpleFormatter
- extends BaseFormatter
An implementation of Formatter
that formats the log message and outputs the date,
location and message.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Zardi (https://sourceforge.net/users/daniel_zardi)
Constructor Summary |
SimpleFormatter(String identifier)
Constructs a new SimpleFormatter with the supplied identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFormatter
public SimpleFormatter(String identifier)
- Constructs a new SimpleFormatter with the supplied identifier.
- Parameters:
identifier
- The string that identifies this formatter.- Since:
- 1.0.0
formatLogCall
public 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.
Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.