class BaseObserver < ActiveRecord::Observer protected def notification NotificationService.new end def log_info message Gitlab::AppLogger.info message end end