Sha256: be661e11f4b31d29e7014d550da0ef51d55c01e3d0269cf486220cc849cb2362

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

# {
#   "debug": {}
# }
module Anschel
  class Filter
    def debug conf, stats, log
      log.info event: 'filter-compiled', kind: 'debug'



      lambda do |event|
        log.debug \
          event: 'debug',
          event_repr: event.inspect,
          raw_event: event
        event
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anschel-0.7.19 lib/anschel/filter/debug.rb
anschel-0.7.18 lib/anschel/filter/debug.rb
anschel-0.7.17 lib/anschel/filter/debug.rb
anschel-0.7.16 lib/anschel/filter/debug.rb
anschel-0.7.15 lib/anschel/filter/debug.rb
anschel-0.7.14 lib/anschel/filter/debug.rb
anschel-0.7.13 lib/anschel/filter/debug.rb