Uses of Class
uk.ac.ebi.utils.exceptions.ExceptionLogger
Packages that use ExceptionLogger
-
Uses of ExceptionLogger in uk.ac.ebi.utils.exceptions
Methods in uk.ac.ebi.utils.exceptions that return ExceptionLoggerModifier and TypeMethodDescriptionstatic ExceptionLoggerExceptionLogger.getLogger()The default logger, seegetLogger().static ExceptionLoggerstatic ExceptionLoggerstatic ExceptionLoggerExceptionLogger.getLogger(org.slf4j.Logger logger) If null, uses a default that is based onObject.getClass(). -
Uses of ExceptionLogger in uk.ac.ebi.utils.opt.springweb.exceptions
Fields in uk.ac.ebi.utils.opt.springweb.exceptions declared as ExceptionLoggerModifier and TypeFieldDescriptionprotected final ExceptionLoggerXResponseEntityExceptionHandler.exLogHere, it's better that this is an instance field, not static, since 1) you're likely to define a subclass of this for your Spring app and 2) you can use the FQN of such subclass to tell your logger you want these exceptions to be logged with the DEBUG level.