Here you can find the source of logThrowable(Throwable throwable)
public static void logThrowable(Throwable throwable)
//package com.java2s; /*This file is part of the project "Reisisoft Adaptive Testing", * which is licenced under LGPL v3+. You may find a copy in the source, * or obtain one at http://www.gnu.org/licenses/lgpl-3.0-standalone.html */ import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Main { private static Logger logger = LoggerFactory.getLogger("AdaptiveTesting"); public static void logThrowable(Throwable throwable) { logger.error("An exception occured:" + throwable.getMessage(), throwable); }/*from ww w. j av a2s . c o m*/ }