Module: OneSignal::Rails

Defined in:
lib/onesignal/rails/plugin.rb,
lib/onesignal/rails/plugin/railtie.rb,
lib/onesignal/rails/plugin/version.rb,
lib/onesignal/rails/plugin/literals.rb,
lib/onesignal/rails/plugin/delivery_error.rb,
lib/onesignal/rails/plugin/delivery_method.rb

Defined Under Namespace

Modules: Plugin

Class Method Summary collapse

Class Method Details

.loggerObject

This is required because other gems in the OneSignal module namespace specifically use ‘Rails.logger` thinking they are picking up the Rails logger. So we proxy that for them.



17
18
19
# File 'lib/onesignal/rails/plugin.rb', line 17

def logger
  ::Rails.logger
end