Added another class method to help with logging item views.