Class LoggingThreadUncaughtExceptionHandler

  • All Implemented Interfaces:
    Thread.UncaughtExceptionHandler

    @Deprecated(forRemoval=true)
    public final class LoggingThreadUncaughtExceptionHandler
    extends Object
    implements Thread.UncaughtExceptionHandler
    Deprecated, for removal: This API element is subject to removal in a future version.
    This class forms a hard dependency on SLF4J API and is therefore deprecated for removal.
    Thread's UncaughtExceptionHandler which logs to slf4j.
    Author:
    Michael Vorburger.ch
    • Method Detail

      • toLogger

        public static Thread.UncaughtExceptionHandler toLogger​(Logger logger)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Factory method to obtain an instance of this bound to the passed slf4j Logger.