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 LogLevel
HttpRequestLogger. getLogLevel(HttpRequestLoggingContext loggingOptions)
Gets theLogLevel
used to log the HTTP request.default LogLevel
HttpResponseLogger. getLogLevel(HttpResponseLoggingContext loggingOptions)
Gets theLogLevel
used 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 LogLevel
LogLevel. fromString(String logLevelVal)
Converts the passed log level string to the correspondingLogLevel
.static LogLevel
LogLevel. 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 boolean
ClientLogger. canLogAtLevel(LogLevel logLevel)
Determines if the app or environment logger support logging at the given log level.void
ClientLogger. log(LogLevel logLevel, Supplier<String> message)
Logs a format-able message that uses{}
as the placeholder at the givenlogLevel
.void
ClientLogger. log(LogLevel logLevel, Supplier<String> message, Throwable throwable)
Logs a format-able message that uses{}
as the placeholder atverbose
log level.
-