Search in sources :

Example 1 with ActiveMQServerLogger

use of org.apache.activemq.artemis.core.server.ActiveMQServerLogger in project activemq-artemis by apache.

the class ActiveMQTestBase method logAndSystemOut.

/**
 * Sends the message to both logger and System.out (for unit report)
 */
public void logAndSystemOut(String message, Exception e) {
    System.out.println(message);
    if (e != null) {
        e.printStackTrace(System.out);
    }
    ActiveMQServerLogger log0 = ActiveMQServerLogger.LOGGER;
    log0.debug(message, e);
}
Also used : ActiveMQServerLogger(org.apache.activemq.artemis.core.server.ActiveMQServerLogger)

Aggregations

ActiveMQServerLogger (org.apache.activemq.artemis.core.server.ActiveMQServerLogger)1