From 38665d04f1139cfea8cdfe7fa41be70aaec3bde9 Mon Sep 17 00:00:00 2001 From: hannessolo Date: Tue, 15 Sep 2020 09:21:27 +0200 Subject: [PATCH] Update readme to reflect changes to region selection --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ff026c0..f268ae6 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,11 @@ This call will send the following payload to Datadog: "ddtags": "callsite:testLog():39,foo:bar,request-id:abc-123" } ``` + +### Select Region + +The Datadog API uses a different URL in the EU region compared to the US. If your account was created using Datadog EU, you need to set the `region` option when initializing `DataDogLogHandler`: + +```swift +DataDogLogHandler(label: $0, key: "xxx", hostname: "hostname", region: .EU) +```