Sha256: 02cd19a3482f170d5072267fd12ddc76ab59403f04bce520bf41693474c9691f

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

class UniformNotifier
  class RailsLogger < Base
    def self.active?
      UniformNotifier.rails_logger
    end

    protected

    def self._out_of_channel_notify( data )
      message = data.values.compact.join("\n")

      Rails.logger.warn message
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uniform_notifier-1.11.0 lib/uniform_notifier/rails_logger.rb
uniform_notifier-1.10.0 lib/uniform_notifier/rails_logger.rb
uniform_notifier-1.9.0 lib/uniform_notifier/rails_logger.rb