corrected typehint abstract log entity and mapper