Sha256: ba431c98e98fab0a30ae66bce2ac12783aa70180040c3ce06199f32f07e9a25c
Contents?: true
Size: 626 Bytes
Versions: 7
Compression:
Stored size: 626 Bytes
Contents
require 'ddtrace/encoding' require 'ddtrace/transport/io/client' require 'ddtrace/transport/io/traces' module Datadog module Transport # Namespace for IO transport components module IO module_function # Builds a new Transport::IO::Client def new(out, encoder) Client.new(out, encoder) end # Builds a new Transport::IO::Client with default settings # Pass options to override any settings. def default(options = {}) new( options.fetch(:out, $stdout), options.fetch(:encoder, Encoding::JSONEncoder) ) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems