com.facebook.cache.common.CacheErrorLogger |
Known Indirect Subclasses |
An interface for logging various cache errors.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | CacheErrorLogger.CacheErrorCategory | A categorizaton of different cache and storage related errors. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
logError(CacheErrorLogger.CacheErrorCategory category, Class<?> clazz, String message, Throwable throwable)
Log an error of the specified category.
|
Log an error of the specified category.
category | Error category |
---|---|
clazz | Class reporting the error |
message | An optional error message |
throwable | An optional exception |