Galen.Ci.EntityFramework.Deployer.StaticConfiguration.LazyLoadLoggingEndpoint C# (CSharp) Method

LazyLoadLoggingEndpoint() private static method

private static LazyLoadLoggingEndpoint ( ) : string
return string
        private static string LazyLoadLoggingEndpoint() 
        {
            var appSettingsValue =
                ConfigurationManager.AppSettings["Galen.Ci.EntityFramework.Deployer.Logging.Endpoint"];

            if (!string.IsNullOrWhiteSpace(appSettingsValue))
            {
                // app.config overrides environment
                return appSettingsValue;
            }

            // fall back to environment
            var environmentValue = Environment.GetEnvironmentVariable("DefaultLoggingUri");
            return environmentValue;
        }
StaticConfiguration