Class: UniformNotifier::RailsLogger
- Inherits:
-
Base
- Object
- Base
- UniformNotifier::RailsLogger
show all
- Defined in:
- lib/uniform_notifier/rails_logger.rb
Class Method Summary
collapse
Methods inherited from Base
inline_notify, wrap_js_association
Class Method Details
.active? ⇒ Boolean
3
4
5
|
# File 'lib/uniform_notifier/rails_logger.rb', line 3
def self.active?
UniformNotifier.rails_logger
end
|
.out_of_channel_notify(message) ⇒ Object
7
8
9
10
|
# File 'lib/uniform_notifier/rails_logger.rb', line 7
def self.out_of_channel_notify( message )
return unless active?
Rails.logger.warn message
end
|