Class: Client::Monitor

Inherits:
Object show all
Defined in:
lib/client.rb

Overview

The Monitor class

Instance Method Summary collapse

Instance Method Details

#channel_registered(ctx) ⇒ Object



557
558
559
# File 'lib/client.rb', line 557

def channel_registered(ctx)
  log.info "Channel registered: #{ctx.channel}"
end

#exception_caught(ctx, cause) ⇒ Object



553
554
555
# File 'lib/client.rb', line 553

def exception_caught(ctx, cause)
  log.warn "Unexpected exception from downstream channel #{ctx.channel}: #{cause.message}"
end