class Libhoney::LogClient

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.

Public Class Methods

new(*args, output: ::STDERR, verbose: false, **kwargs) click to toggle source
Calls superclass method Libhoney::Client::new
# File lib/libhoney/log_client.rb, line 13
def initialize(*args, output: ::STDERR, verbose: false, **kwargs)
  super(*args,
        transmission: LogTransmissionClient.new(output: output, verbose: verbose),
        **kwargs)
end