Sha256: 45dadbbc6dd6745bb6b894a73fd797925efaf93923748a4503b8b132c8ab2a31
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
require 'libhoney/client' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
libhoney-1.7.0 | lib/libhoney/log_client.rb |