com.azure.identity.implementation.IdentityLogOptions Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.identity.implementation;
import com.azure.core.util.logging.LogLevel;
public class IdentityLogOptions {
private LogLevel runtimeExceptionLogLevel;
public IdentityLogOptions() {
this(false);
}
public IdentityLogOptions(boolean isUnderCredentialChainScope) {
runtimeExceptionLogLevel = isUnderCredentialChainScope ? LogLevel.VERBOSE : LogLevel.ERROR;
}
public LogLevel getRuntimeExceptionLogLevel() {
return runtimeExceptionLogLevel;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy