make loggable class