custom_class uses loggable interface