Class: DatTCP::Server::LoggerProxy

Inherits:
Struct
  • Object
show all
Defined in:
lib/dat-tcp.rb

Instance Method Summary collapse

Instance Method Details

#log(&message_block) ⇒ Object



218
219
220
# File 'lib/dat-tcp.rb', line 218

def log(&message_block)
  self.logger.debug("[DTCP] #{message_block.call}")
end