Here you can find the source of interruptCurrentThreadWithLog(Logger logger)
public static void interruptCurrentThreadWithLog(Logger logger)
//package com.java2s; //License from project: Apache License import org.slf4j.Logger; public class Main { public static void interruptCurrentThreadWithLog(Logger logger) { logger.info("Thread {} was interrupted", Thread.currentThread()); Thread.currentThread().interrupt(); }/*from www. ja v a2 s . com*/ }