SalesPoint v3.3 API

log
Interface Loggable

All Known Implementing Classes:
CatalogItemDataBasketEntry, CountingStockItemDBEntry, DataBasketEntryImpl, SaleProcess, StockItemDBEntry, StoringStockItemDBEntry

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

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 v3.3 API