C D E F G I L N R T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- canLogAtLevel(LogLevel) - Method in class com.azure.android.core.logging.ClientLogger
-
Determines if the app or environment logger support logging at the given log level.
- ClientLogger - Class in com.azure.android.core.logging
-
This is a fluent logger helper class that wraps a pluggable
Logger
. - ClientLogger(Class<?>) - Constructor for class com.azure.android.core.logging.ClientLogger
-
Retrieves a logger for the passed class using the
LoggerFactory
. - ClientLogger(String) - Constructor for class com.azure.android.core.logging.ClientLogger
-
Retrieves a logger for the passed class name using the
LoggerFactory
. - com.azure.android.core.logging - package com.azure.android.core.logging
-
Package containing logging APIs.
- com.azure.android.core.logging.implementation - package com.azure.android.core.logging.implementation
D
- debug(String) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- debug(String, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- debug(String, Object[]) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- debug(String, Object, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- debug(String, Throwable) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- DefaultLogger - Class in com.azure.android.core.logging.implementation
-
This is a fluent logger helper class that implements the logging using the Android
Log
class and its methods. - DefaultLogger(Class<?>) - Constructor for class com.azure.android.core.logging.implementation.DefaultLogger
-
Construct DefaultLogger for the given class.
- DefaultLogger(String) - Constructor for class com.azure.android.core.logging.implementation.DefaultLogger
-
Construct DefaultLogger.
E
- ensureValidLoggerName(String) - Static method in class com.azure.android.core.logging.implementation.LogUtils
-
Returns the short logger tag (up to 23 characters) for the given logger name if the devices API level is <= 25, otherwise, the tag is unchanged.
- error(String) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a message at
error
log level. - error(String) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- error(String, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- error(String, Object...) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a formattable message that uses
{}
as the placeholder aterror
log level. - error(String, Object[]) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- error(String, Object, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- error(String, Throwable) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- ERROR - com.azure.android.core.logging.LogLevel
-
Indicates that log level is at error level.
F
- fromString(String) - Static method in enum com.azure.android.core.logging.LogLevel
-
Converts the passed log level string to the corresponding
LogLevel
.
G
- getLogLevel() - Method in enum com.azure.android.core.logging.LogLevel
-
Converts the log level into a numeric representation used for comparisons.
I
- info(String) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a message at
info
log level. - info(String) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- info(String, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- info(String, Object...) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a formattable message that uses
{}
as the placeholder atinformational
log level. - info(String, Object[]) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- info(String, Object, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- info(String, Throwable) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- INFORMATIONAL - com.azure.android.core.logging.LogLevel
-
Indicates that log level is at information level.
- isDebugEnabled() - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- isErrorEnabled() - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- isInfoEnabled() - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- isTraceEnabled() - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- isWarnEnabled() - Method in class com.azure.android.core.logging.implementation.DefaultLogger
L
- logExceptionAsError(RuntimeException) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs the
RuntimeException
at the error level and returns it to be thrown. - logExceptionAsWarning(RuntimeException) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs the
RuntimeException
at the warning level and returns it to be thrown. - LogLevel - Enum in com.azure.android.core.logging
-
Enum which represent logging levels used in Azure SDKs.
- logThrowableAsError(T) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs the
Throwable
at the error level and returns it to be thrown. - logThrowableAsWarning(T) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs the
Throwable
at the warning level and returns it to be thrown. - LogUtils - Class in com.azure.android.core.logging.implementation
N
R
- removeNewLinesFromLogMessage(String) - Static method in class com.azure.android.core.logging.implementation.LogUtils
-
Removes CR, LF or CRLF pattern in the
logMessage
.
T
- trace(String) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- trace(String, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- trace(String, Object[]) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- trace(String, Object, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- trace(String, Throwable) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
V
- valueOf(String) - Static method in enum com.azure.android.core.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.android.core.logging.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose(String) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a message at
verbose
log level. - verbose(String, Object...) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a formattable message that uses
{}
as the placeholder atverbose
log level. - VERBOSE - com.azure.android.core.logging.LogLevel
-
Indicates that log level is at verbose level.
W
- warn(String) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- warn(String, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- warn(String, Object[]) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- warn(String, Object, Object) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- warn(String, Throwable) - Method in class com.azure.android.core.logging.implementation.DefaultLogger
- warning(String) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a message at
warning
log level. - warning(String, Object...) - Method in class com.azure.android.core.logging.ClientLogger
-
Logs a formattable message that uses
{}
as the placeholder atwarning
log level. - WARNING - com.azure.android.core.logging.LogLevel
-
Indicates that log level is at warning level.
All Classes All Packages