Sha256: ab0071e029898de48ccb45452d06666045a09aca18931685149e027970331282
Contents?: true
Size: 694 Bytes
Versions: 4
Compression:
Stored size: 694 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libhoney-1.10.1 | lib/libhoney/log_client.rb |
libhoney-1.10.0 | lib/libhoney/log_client.rb |
libhoney-1.9.0 | lib/libhoney/log_client.rb |
libhoney-1.8.1 | lib/libhoney/log_client.rb |