本文整理了Java中org.esupportail.commons.services.logging.Logger.isDebugEnabled()
方法的一些代码示例,展示了Logger.isDebugEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isDebugEnabled()
方法的具体详情如下:
包路径:org.esupportail.commons.services.logging.Logger
类名称:Logger
方法名:isDebugEnabled
暂无
代码示例来源:origin: org.esupportail/esup-commons2-jsf2
/**
* Make an EL Expression.
* EX. : #{param}
* @param param
* @return String
*/
public static String makeELExpression(final String param) {
if (LOG.isDebugEnabled()) {
LOG.debug("entering makeELExpression(" + param + " )");
}
return "#{" + param + "}";
}
代码示例来源:origin: org.esupportail/example-web-jsf-shared
/**
* @see org.esupportail.commons.domain.AbstractDomainQueryPaginator#getQueryString()
*/
protected String getQueryString() {
if (log.isDebugEnabled()) {
log.debug("entering UserPaginator.getQueryString()");
}
return "SELECT user FROM User user";
}
代码示例来源:origin: org.esupportail/esup-commons2-dao
/**
* @param s
*/
public void addSelect(final String s) {
if (log.isDebugEnabled()) {
log.debug("entering HqlQueryPojo.addSelect() with s = " + s);
}
if (StringUtils.hasText(s)) {
select.add(s.trim());
}
}
代码示例来源:origin: org.esupportail/esup-commons2-dao
/**
* @param w
*/
public void addWhere(final String w) {
if (log.isDebugEnabled()) {
log.debug("entering HqlQueryPojo.addWhere() with w = " + w);
}
if (StringUtils.hasText(w)) {
where.add(w.trim());
}
}
代码示例来源:origin: org.esupportail/ects-web-jsf-shared
/**
* @see org.esupportail.commons.domain.AbstractDomainQueryPaginator#getQueryString()
*/
protected String getQueryString() {
if (log.isDebugEnabled()) {
log.debug("entering UserPaginator.getQueryString()");
}
return "SELECT user FROM User user";
}
代码示例来源:origin: org.esupportail/esup-commons2-jsf
/**
* Make an EL Expression.
* EX. : #{param}
* @param param
* @return String
*/
public static String makeELExpression(final String param) {
if (LOG.isDebugEnabled()) {
LOG.debug("entering makeELExpression(" + param + " )");
}
return "#{" + param + "}";
}
代码示例来源:origin: org.esupportail/esup-commons2-dao
/**
* @param f
*/
public void addFrom(final String f) {
if (log.isDebugEnabled()) {
log.debug("entering HqlQueryPojo.addFrom() with f = " + f);
}
if (StringUtils.hasText(f)) {
from.add(f.trim());
}
}
代码示例来源:origin: org.esupportail/esup-commons2-annotations
/**
* @param key
* @return a call result.
* @see java.util.HashMap#get(java.lang.Object)
*/
public CallResult get(final String key) {
CallResult callResult = super.get(key);
if (logger.isDebugEnabled()) {
logger.debug("GET FROM " + keySet().size() + "\t" + key + callResult);
}
return callResult;
}
代码示例来源:origin: org.esupportail/esup-commons2-web
@Override
public void afterPropertiesSet() {
if (authorizedClientNames == null || authorizedClientNames.isEmpty()) {
authorizedClientNames = null;
logger.warn("property authorizedClients is not set, no access control will be done.");
}
if (logger.isDebugEnabled()) {
for (String authorizedClientName : authorizedClientNames) {
logger.debug("authorized client: " + authorizedClientName);
}
}
}
代码示例来源:origin: org.esupportail/esup-commons2-jsf
@Override
protected void debugEvent(
final PhaseEvent event,
final String string) {
if (logger.isDebugEnabled()) {
super.debugEvent(event, string);
debugMessages(event);
}
}
代码示例来源:origin: org.esupportail/ects-web-jsf-shared
/**
* @see org.esupportail.commons.web.beans.AbstractPaginator#reset()
*/
public void reset() {
if (log.isDebugEnabled()) {
log.debug("entering UserPaginator.reset()");
}
super.reset();
}
代码示例来源:origin: org.esupportail/esup-commons2-jsf
@Override
public void encodeBegin(final FacesContext arg0) {
if (logger.isDebugEnabled()) {
logger.debug("Entered encodeBegin for client-Id: " + getId());
}
List<UIComponent> allchildren = makePaginator(arg0.getApplication());
this.getChildren().addAll(allchildren);
if (logger.isDebugEnabled()) {
logger.debug("Exited encodeBegin");
}
}
代码示例来源:origin: org.esupportail/esup-commons2-jsf2
@Override
protected void debugEvent(
final PhaseEvent event,
final String string) {
if (logger.isDebugEnabled()) {
super.debugEvent(event, string);
debugMessages(event);
}
}
代码示例来源:origin: org.esupportail/esup-commons2-hibernate
/**
* Commit current transactions.
*/
public static void commit() {
if (LOG.isDebugEnabled()) {
LOG.debug("COMMIT");
}
end(true);
}
代码示例来源:origin: org.esupportail/esup-commons2-hibernate
/**
* Rollback current transactions.
*/
public static void rollback() {
if (LOG.isDebugEnabled()) {
LOG.debug("ROLLBACK");
}
end(false);
}
代码示例来源:origin: org.esupportail/esup-commons2-jsf2
@Override
public void encodeBegin(final FacesContext arg0) {
if (logger.isDebugEnabled()) {
logger.debug("Entered encodeBegin for client-Id: " + getId());
}
List<UIComponent> allchildren = makePaginator(arg0.getApplication());
this.getChildren().addAll(allchildren);
if (logger.isDebugEnabled()) {
logger.debug("Exited encodeBegin");
}
}
代码示例来源:origin: org.esupportail/example-web-jsf-shared
/**
* @see org.esupportail.commons.web.beans.AbstractPaginator#reset()
*/
public void reset() {
if (log.isDebugEnabled()) {
log.debug("entering UserPaginator.reset()");
}
super.reset();
}
代码示例来源:origin: org.esupportail/ects-domain-services
/**
* @see org.esupportail.ects.domain.DomainService#getVersionDiplome(java.lang.String, java.lang.String, java.lang.String)
*/
@Override
@Cacheable(cacheName = CacheModelConst.ENS_DEFAULT_MODEL)
public VersionDiplomeDTO getVersionDiplome(String anneeRct, String codEtp,
String codeVrsVet) {
if (logger.isDebugEnabled()) {
logger.debug("entering getVersionDiplome(" + anneeRct + "," + codEtp + "," + codeVrsVet + ")");
}
// codEtp, libWebvet, codCge, dateRct
return readEnseignement.getVersionDiplome2(anneeRct, codEtp, new Integer(codeVrsVet));
}
代码示例来源:origin: org.esupportail/esup-commons2-hibernate
/**
* End current transactions.
* @param commit true to commit the current transaction, false to rollback
*/
private static void end(final boolean commit) {
if (LOG.isDebugEnabled()) {
LOG.debug("END(" + commit + ")");
}
getDatabaseManagerStore().end(commit);
}
代码示例来源:origin: org.esupportail/esup-commons2-hibernate
/**
* Begin transactions (for transactionnal managers only).
*/
public static void begin() {
if (LOG.isDebugEnabled()) {
LOG.debug("BEGIN");
}
getDatabaseManagerStore().begin();
}
内容来源于网络,如有侵权,请联系作者删除!