Sha256: c1f6fe4585555bcba2a6eefeb5645d9975d9740cb695a02074a514bcac84d571
Contents?: true
Size: 692 Bytes
Versions: 23
Compression:
Stored size: 692 Bytes
Contents
require 'libhoney/client' require 'libhoney/log_transmission' module Libhoney # A client that prints events to stderr or a file for inspection. Does not # actually send any events to Honeycomb; instead, records events for later # inspection. # # @note This class is intended for use in development, for example if you want # to verify what events your instrumented code is sending. Use in # production is not recommended. class LogClient < Client def initialize(*args, output: ::STDERR, verbose: false, **kwargs) super(*args, transmission: LogTransmissionClient.new(output: output, verbose: verbose), **kwargs) end end end
Version data entries
23 entries across 23 versions & 1 rubygems