private string GetServiceUrl()

in src/AWS.Logger.Core/Core/AWSLoggerCore.cs [235:255]


        private string GetServiceUrl()
        {
            try
            {
                _client.Value.Config.Validate();
                if (_cachedServiceUrl == null)
                {
                    _cachedServiceUrl = _client.Value.DetermineServiceOperationEndpoint(new DescribeLogGroupsRequest
                    {
                        LogGroupNamePrefix = _config.LogGroup
                    }).URL ?? "Undetermined ServiceURL";
                }

                return _cachedServiceUrl;
            }
            catch (Exception ex)
            {
                LogLibraryServiceError(ex, string.Empty);
                return "Unknown ServiceURL";
            }
        }