| Class | DebugFilter |
| In: |
lib/network/protocol/debugfilter.rb
|
| Parent: | Filter |
The DebugFilter class simply logs all that passes through it
Construct filter
# File lib/network/protocol/debugfilter.rb, line 26 def initialize(pstack) super(pstack) end
The filter_out method filters output data
# File lib/network/protocol/debugfilter.rb, line 42 def filter_out(str) return "" if str.nil? || str.empty? log.debug("(#{@pstack.conn.object_id}) OUTPUT #{str.inspect}" ) str end