Here you can find the source of logErrors(Logger logger, List
Parameter | Description |
---|
public static void logErrors(Logger logger, List<String> strings)
//package com.java2s; //License from project: Open Source License import java.util.List; import org.slf4j.Logger; public class Main { /**//from w ww . j a v a 2s . co m * Efetua log de varios erros. * * @param {@link Logger} logger * @param {@link List} strings */ public static void logErrors(Logger logger, List<String> strings) { if (strings != null) { for (String error : strings) { logger.error("logErrors :: " + error); } } } }