Sha256: 07fd9b50fab270ebc0abe8129ec1d1d764876bf60c44fb2c19e7e1e29f5446c0

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

require_relative 'lib/socketlogger'

logger = Logger.new port: 4000, transport: :tcp, topic: 'logging', delay: true

50.times do |i|
	puts logger.log "A#{i}"
end
sleep(3)
50.times do |i|
	puts logger.log "B#{i}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socketlogger-0.0.2 publisher.rb