Skip to content

XRayUDPEmitter_Config

pokryfka edited this page Aug 3, 2020 · 2 revisions

XRayUDPEmitter.Config

XRayUDPEmitter configuration.

public struct Config

Initializers

init(daemonEndpoint:​logLevel:​)

Creates new XRayUDPEmitter configuration.

public init(daemonEndpoint:​ String? = nil, logLevel:​ Logger.Level? = nil)

Parameters

  • daemonEndpoint:​ - daemonEndpoint:​ the IP address and port of the X-Ray daemon listener, 127.0.0.1:​2000 by default; if not specified the value of the AWS_XRAY_DAEMON_ADDRESS environment variable is used.
  • logLevel:​ - logLevel:​ swift-log logging level, info by default; if not specified the value of the XRAY_RECORDER_LOG_LEVEL environment variable is used.