SalesPoint Framework v3.1

log
Interface Loggable

All Known Implementing Classes:
DataBasketEntryImpl, SaleProcess

public interface Loggable

An object that can be logged.

When a Loggable object is handed to Log.log(log.Loggable), its getLogData() method will be called to create a LogEntry describing the given object.

Since:
v1.0
Author:
Steffen Zschaler
See Also:
Log.log(log.Loggable), LogEntry

Method Summary
 LogEntry getLogData()
          Called when the object is being logged.
 

Method Detail

getLogData

public LogEntry getLogData()
Called when the object is being logged.

Should return a fresh instance of a subclass of LogEntry describing the object or event to be logged.

Returns:
the data to be stored in the log file.
Override:
Always

SalesPoint Framework v3.1