Code example for Logger

Methods: fine

0
        final Message res = ctx.getResponseMessage();
 
        if (req != null) {
            LOGGER.fine("Request: " + Util.escape(req.getSOAPPartAsString()));
        } else { 
            LOGGER.fine("Request: (null)");
        } 
 
        if (res != null) {
            LOGGER.fine("Response: " + Util.escape(res.getSOAPPartAsString()));
        } else { 
            LOGGER.fine("Response: (null)");
        } 
 
    } 
 
    private static final Logger LOGGER = Logger.getLogger(LogHandler.class.getName());
}