src/WebJobs.Script.WebHost/Configuration/AzureMonitorLoggingOptionsSetup.cs (13 lines of code) (raw):

// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.WebJobs.Script.Config; using Microsoft.Extensions.Options; namespace Microsoft.Azure.WebJobs.Script.WebHost.Configuration { internal sealed class AzureMonitorLoggingOptionsSetup : IConfigureOptions<AzureMonitorLoggingOptions> { public void Configure(AzureMonitorLoggingOptions options) { options.IsAzureMonitorTimeIsoFormatEnabled = FeatureFlags.IsEnabled(ScriptConstants.FeatureFlagEnableAzureMonitorTimeIsoFormat); } } }