Here you can find the source of logAndIdError(Logger log, String errorMessage)
public static String logAndIdError(Logger log, String errorMessage)
//package com.java2s; //License from project: Apache License import org.slf4j.Logger; public class Main { public static String logAndIdError(Logger log, String errorMessage) { //errorMessage = errorMessage + " - logId:"+new Date().getTime(); log.error(errorMessage);/*w w w . java 2 s .c o m*/ return errorMessage; } }