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



555
556
557
# File 'lib/client.rb', line 555

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

#exception_caught(ctx, cause) ⇒ Object



551
552
553
# File 'lib/client.rb', line 551

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