Sha256: e7017f133effe11bbd8cb3d5da12d4c59d85327c0986a6934734d3e469ee8f0a
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 Bytes
Contents
module HttpEventLogger module Test class CustomLogger < HttpEventLogger::Logger def initialize(logger) super(logger: logger) end def connected(connection) log "Custom - Connected: #{connection.uri}" end def sent(request) log "Custom - Sent: Request Event" end def received(response) log "Custom - Received: Response Event" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems