Sha256: 0d4b55adc409a507a75eaee0f72a68339ebf345b7c0c8c074ca44247b14ff8d3

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 Bytes

Contents

module Nexaas
  module Auditor
    class LogsSubscriber < Subscriber

      def logger
        Nexaas::Auditor.logger
      end

      private

      def event_method_name(name)
        "log_event_#{name.downcase.gsub('.', '_')}"
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nexaas-auditor-1.1.0 lib/nexaas/auditor/logs_subscriber.rb
nexaas-auditor-1.0.4 lib/nexaas/auditor/logs_subscriber.rb
nexaas-auditor-1.0.3 lib/nexaas/auditor/logs_subscriber.rb
nexaas-auditor-1.0.2 lib/nexaas/auditor/logs_subscriber.rb
nexaas-auditor-1.0.1 lib/nexaas/auditor/logs_subscriber.rb
nexaas-auditor-1.0.0 lib/nexaas/auditor/logs_subscriber.rb