it.mice.voila.runtime.log4jspi.JDBCAppender Maven / Gradle / Ivy
/**
* Licensed under the MICE s.r.l.
* End User License Agreement
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.micegroup.it/voila/license.html
*/
package it.mice.voila.runtime.log4jspi;
import org.apache.log4j.AppenderSkeleton;
import org.apache.log4j.spi.LoggingEvent;
/**
* @author zzy9v4
*
* Per modificare il modello associato al commento di questo tipo generato, aprire
* Finestra>Preferenze>Java>Generazione codice>Codice e commenti
*/
public class JDBCAppender extends AppenderSkeleton
{
public JDBCAppender()
{
}
public void append(LoggingEvent event)
{
//System.err.println("Eccomi." + event.getRenderedMessage());
return;
}
/* (non Javadoc)
* @see org.apache.log4j.Appender#close()
*/
public void close() {
}
/* (non Javadoc)
* @see org.apache.log4j.Appender#requiresLayout()
*/
public boolean requiresLayout() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy