const FEATURE_NAME = 'changeLog';
/**
* Keep track of changes made to the entity.
* @module EntityFeature_ChangeLog
*/
/**
* Initialize the feature
* @param {Entity} entity - Entity to apply this feature
*/
function feature(entity, args = []) {
let [options] = args;
options = { storeEntity: 'changeLog', ...options };
entity.addFeature(FEATURE_NAME, options);
}
module.exports = feature;