if ((level == LogService.LOG_DEBUG) && log.isDebugEnabled()) {
log.debug(message, logEntry.getException());
}
else if ((level == LogService.LOG_ERROR) && log.isErrorEnabled()) {
log.error(message, logEntry.getException());
}
else if ((level == LogService.LOG_INFO) && log.isInfoEnabled()) {
log.info(message, logEntry.getException());
}
else if ((level == LogService.LOG_WARNING) && log.isWarnEnabled()) {