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.
- Hooks:
- Define New Loggable Event
- Since:
- v1.0
- Version:
- 1.0
- Author:
- Steffen Zschaler
- See Also:
Log.log(log.Loggable)
,
LogEntry
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.
- Override:
- Always.
- Returns:
- the data to be stored in the log file.
- Hooks:
- Define New Loggable Event