Uses of Class
com.azure.core.util.logging.LogLevel
-
Packages that use LogLevel Package Description com.azure.core.http.policy Package containing HttpPipelinePolicy interface and its implementations.com.azure.core.util.logging Package containing logging APIs. -
-
Uses of LogLevel in com.azure.core.http.policy
Methods in com.azure.core.http.policy that return LogLevel Modifier and Type Method Description default LogLevelHttpRequestLogger. getLogLevel(HttpRequestLoggingContext loggingOptions)Gets theLogLevelused to log the HTTP request.default LogLevelHttpResponseLogger. getLogLevel(HttpResponseLoggingContext loggingOptions)Gets theLogLevelused to log the HTTP response. -
Uses of LogLevel in com.azure.core.util.logging
Methods in com.azure.core.util.logging that return LogLevel Modifier and Type Method Description static LogLevelLogLevel. fromString(String logLevelVal)Converts the passed log level string to the correspondingLogLevel.static LogLevelLogLevel. valueOf(String name)Returns the enum constant of this type with the specified name.static LogLevel[]LogLevel. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.azure.core.util.logging with parameters of type LogLevel Modifier and Type Method Description booleanClientLogger. canLogAtLevel(LogLevel logLevel)Determines if the app or environment logger support logging at the given log level.voidClientLogger. log(LogLevel logLevel, Supplier<String> message)Logs a format-able message that uses{}as the placeholder at the givenlogLevel.voidClientLogger. log(LogLevel logLevel, Supplier<String> message, Throwable throwable)Logs a format-able message that uses{}as the placeholder atverboselog level.
-