public class AnyToAnyLogger extends Object implements EntityLogger
Modifier and Type | Field and Description |
---|---|
private DbLogManagerFactory |
factory |
Constructor and Description |
---|
AnyToAnyLogger(DbLogManagerFactory factory) |
Modifier and Type | Method and Description |
---|---|
private String |
createLoggableString(LogControl logControl,
Item itemType,
int itemId) |
void |
logChanges(LogManager logManager,
EntityDetails details)
Called when changes has been detected to an entity.
|
private final DbLogManagerFactory factory
public AnyToAnyLogger(DbLogManagerFactory factory)
public void logChanges(LogManager logManager, EntityDetails details)
EntityLogger
logChanges
in interface EntityLogger
logManager
- The log manager for the current transactiondetails
- Detailed information about the entity that has
changedprivate String createLoggableString(LogControl logControl, Item itemType, int itemId)