All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.shedhack.thread.context.handler.LoggingAfterSet Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package com.shedhack.thread.context.handler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 
 *     Logs the thread context, using slf4j, at INFO level.
 * 
* * @author imamchishty */ public class LoggingAfterSet implements ThreadContextAfterSet { private static Logger LOGGER = LoggerFactory.getLogger(LoggingAfterSet.class); /** * Logs the context at INFO level. */ public void afterSet(String context) { LOGGER.info(context); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy