public class

NoOpCacheErrorLogger

extends Object
implements CacheErrorLogger
java.lang.Object
   ↳ com.facebook.cache.common.NoOpCacheErrorLogger

Class Overview

An implementation of CacheErrorLogger that doesn't do anything.

Summary

Public Methods
synchronized static NoOpCacheErrorLogger getInstance()
void logError(CacheErrorLogger.CacheErrorCategory category, Class<?> clazz, String message, Throwable throwable)
Log an error of the specified category.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.cache.common.CacheErrorLogger

Public Methods

public static synchronized NoOpCacheErrorLogger getInstance ()

public void logError (CacheErrorLogger.CacheErrorCategory category, Class<?> clazz, String message, Throwable throwable)

Log an error of the specified category.

Parameters
category Error category
clazz Class reporting the error
message An optional error message
throwable An optional exception