Model
Log
Magento\Customer\Model\Log
What it does
This class serves as a data container (Value Object) for storing customer activity log information, including their login, logout, and last visit timestamps.
Developers use this class to retrieve and pass around customer activity data in a structured way, particularly when tracking customer behavior or building features that need to access customer session history.
Public Methods
- getCustomerId()
- getLastLoginAt()
- getLastVisitAt()
- getLastLogoutAt()