-
- All Implemented Interfaces:
-
com.facebook.cache.common.CacheErrorLogger
public class NoOpCacheErrorLogger implements CacheErrorLogger
An implementation of CacheErrorLogger that doesn't do anything.
-
-
Method Summary
Modifier and Type Method Description static synchronized NoOpCacheErrorLoggergetInstance()voidlogError(CacheErrorLogger.CacheErrorCategory category, Class<out Object> clazz, String message, @Nullable() Throwable throwable)Log an error of the specified category. -
-
Method Detail
-
getInstance
static synchronized NoOpCacheErrorLogger getInstance()
-
logError
void logError(CacheErrorLogger.CacheErrorCategory category, Class<out Object> clazz, String message, @Nullable() Throwable throwable)
Log an error of the specified category.
- Parameters:
category- Error categoryclazz- Class reporting the errormessage- An optional error messagethrowable- An optional exception
-
-
-
-