Sha256: 90132d6ee6c29b3434b26f596351b098590693d4af62aa44cf48334929296276
Contents?: true
Size: 625 Bytes
Versions: 14
Compression:
Stored size: 625 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
14 entries across 14 versions & 2 rubygems