don't log an objects class if it is a Class