Class: OSPFv2::Neighbor::Trace

Inherits:
Object
  • Object
show all
Defined in:
lib/neighbor/neighbor.rb

Instance Method Summary collapse

Constructor Details

#initialize(io = $stdout) ⇒ Trace

Returns a new instance of Trace.



42
43
44
# File 'lib/neighbor/neighbor.rb', line 42

def initialize(io=$stdout)
  @logger = Logger.new(io)
end

Instance Method Details

#trace(s) ⇒ Object



45
46
47
# File 'lib/neighbor/neighbor.rb', line 45

def trace(s)
  @logger << s
end