org.esupportail.commons.services.logging.Logger.isDebugEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(6.1k)|赞(0)|评价(0)|浏览(248)

本文整理了Java中org.esupportail.commons.services.logging.Logger.isDebugEnabled()方法的一些代码示例,展示了Logger.isDebugEnabled()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isDebugEnabled()方法的具体详情如下:
包路径:org.esupportail.commons.services.logging.Logger
类名称:Logger
方法名:isDebugEnabled

Logger.isDebugEnabled介绍

暂无

代码示例

代码示例来源:origin: org.esupportail/esup-commons2-jsf2

  1. /**
  2. * Make an EL Expression.
  3. * EX. : #{param}
  4. * @param param
  5. * @return String
  6. */
  7. public static String makeELExpression(final String param) {
  8. if (LOG.isDebugEnabled()) {
  9. LOG.debug("entering makeELExpression(" + param + " )");
  10. }
  11. return "#{" + param + "}";
  12. }

代码示例来源:origin: org.esupportail/example-web-jsf-shared

  1. /**
  2. * @see org.esupportail.commons.domain.AbstractDomainQueryPaginator#getQueryString()
  3. */
  4. protected String getQueryString() {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering UserPaginator.getQueryString()");
  7. }
  8. return "SELECT user FROM User user";
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-dao

  1. /**
  2. * @param s
  3. */
  4. public void addSelect(final String s) {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering HqlQueryPojo.addSelect() with s = " + s);
  7. }
  8. if (StringUtils.hasText(s)) {
  9. select.add(s.trim());
  10. }
  11. }

代码示例来源:origin: org.esupportail/esup-commons2-dao

  1. /**
  2. * @param w
  3. */
  4. public void addWhere(final String w) {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering HqlQueryPojo.addWhere() with w = " + w);
  7. }
  8. if (StringUtils.hasText(w)) {
  9. where.add(w.trim());
  10. }
  11. }

代码示例来源:origin: org.esupportail/ects-web-jsf-shared

  1. /**
  2. * @see org.esupportail.commons.domain.AbstractDomainQueryPaginator#getQueryString()
  3. */
  4. protected String getQueryString() {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering UserPaginator.getQueryString()");
  7. }
  8. return "SELECT user FROM User user";
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-jsf

  1. /**
  2. * Make an EL Expression.
  3. * EX. : #{param}
  4. * @param param
  5. * @return String
  6. */
  7. public static String makeELExpression(final String param) {
  8. if (LOG.isDebugEnabled()) {
  9. LOG.debug("entering makeELExpression(" + param + " )");
  10. }
  11. return "#{" + param + "}";
  12. }

代码示例来源:origin: org.esupportail/esup-commons2-dao

  1. /**
  2. * @param f
  3. */
  4. public void addFrom(final String f) {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering HqlQueryPojo.addFrom() with f = " + f);
  7. }
  8. if (StringUtils.hasText(f)) {
  9. from.add(f.trim());
  10. }
  11. }

代码示例来源:origin: org.esupportail/esup-commons2-annotations

  1. /**
  2. * @param key
  3. * @return a call result.
  4. * @see java.util.HashMap#get(java.lang.Object)
  5. */
  6. public CallResult get(final String key) {
  7. CallResult callResult = super.get(key);
  8. if (logger.isDebugEnabled()) {
  9. logger.debug("GET FROM " + keySet().size() + "\t" + key + callResult);
  10. }
  11. return callResult;
  12. }

代码示例来源:origin: org.esupportail/esup-commons2-web

  1. @Override
  2. public void afterPropertiesSet() {
  3. if (authorizedClientNames == null || authorizedClientNames.isEmpty()) {
  4. authorizedClientNames = null;
  5. logger.warn("property authorizedClients is not set, no access control will be done.");
  6. }
  7. if (logger.isDebugEnabled()) {
  8. for (String authorizedClientName : authorizedClientNames) {
  9. logger.debug("authorized client: " + authorizedClientName);
  10. }
  11. }
  12. }

代码示例来源:origin: org.esupportail/esup-commons2-jsf

  1. @Override
  2. protected void debugEvent(
  3. final PhaseEvent event,
  4. final String string) {
  5. if (logger.isDebugEnabled()) {
  6. super.debugEvent(event, string);
  7. debugMessages(event);
  8. }
  9. }

代码示例来源:origin: org.esupportail/ects-web-jsf-shared

  1. /**
  2. * @see org.esupportail.commons.web.beans.AbstractPaginator#reset()
  3. */
  4. public void reset() {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering UserPaginator.reset()");
  7. }
  8. super.reset();
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-jsf

  1. @Override
  2. public void encodeBegin(final FacesContext arg0) {
  3. if (logger.isDebugEnabled()) {
  4. logger.debug("Entered encodeBegin for client-Id: " + getId());
  5. }
  6. List<UIComponent> allchildren = makePaginator(arg0.getApplication());
  7. this.getChildren().addAll(allchildren);
  8. if (logger.isDebugEnabled()) {
  9. logger.debug("Exited encodeBegin");
  10. }
  11. }

代码示例来源:origin: org.esupportail/esup-commons2-jsf2

  1. @Override
  2. protected void debugEvent(
  3. final PhaseEvent event,
  4. final String string) {
  5. if (logger.isDebugEnabled()) {
  6. super.debugEvent(event, string);
  7. debugMessages(event);
  8. }
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

  1. /**
  2. * Commit current transactions.
  3. */
  4. public static void commit() {
  5. if (LOG.isDebugEnabled()) {
  6. LOG.debug("COMMIT");
  7. }
  8. end(true);
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

  1. /**
  2. * Rollback current transactions.
  3. */
  4. public static void rollback() {
  5. if (LOG.isDebugEnabled()) {
  6. LOG.debug("ROLLBACK");
  7. }
  8. end(false);
  9. }

代码示例来源:origin: org.esupportail/esup-commons2-jsf2

  1. @Override
  2. public void encodeBegin(final FacesContext arg0) {
  3. if (logger.isDebugEnabled()) {
  4. logger.debug("Entered encodeBegin for client-Id: " + getId());
  5. }
  6. List<UIComponent> allchildren = makePaginator(arg0.getApplication());
  7. this.getChildren().addAll(allchildren);
  8. if (logger.isDebugEnabled()) {
  9. logger.debug("Exited encodeBegin");
  10. }
  11. }

代码示例来源:origin: org.esupportail/example-web-jsf-shared

  1. /**
  2. * @see org.esupportail.commons.web.beans.AbstractPaginator#reset()
  3. */
  4. public void reset() {
  5. if (log.isDebugEnabled()) {
  6. log.debug("entering UserPaginator.reset()");
  7. }
  8. super.reset();
  9. }

代码示例来源:origin: org.esupportail/ects-domain-services

  1. /**
  2. * @see org.esupportail.ects.domain.DomainService#getVersionDiplome(java.lang.String, java.lang.String, java.lang.String)
  3. */
  4. @Override
  5. @Cacheable(cacheName = CacheModelConst.ENS_DEFAULT_MODEL)
  6. public VersionDiplomeDTO getVersionDiplome(String anneeRct, String codEtp,
  7. String codeVrsVet) {
  8. if (logger.isDebugEnabled()) {
  9. logger.debug("entering getVersionDiplome(" + anneeRct + "," + codEtp + "," + codeVrsVet + ")");
  10. }
  11. // codEtp, libWebvet, codCge, dateRct
  12. return readEnseignement.getVersionDiplome2(anneeRct, codEtp, new Integer(codeVrsVet));
  13. }

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

  1. /**
  2. * End current transactions.
  3. * @param commit true to commit the current transaction, false to rollback
  4. */
  5. private static void end(final boolean commit) {
  6. if (LOG.isDebugEnabled()) {
  7. LOG.debug("END(" + commit + ")");
  8. }
  9. getDatabaseManagerStore().end(commit);
  10. }

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

  1. /**
  2. * Begin transactions (for transactionnal managers only).
  3. */
  4. public static void begin() {
  5. if (LOG.isDebugEnabled()) {
  6. LOG.debug("BEGIN");
  7. }
  8. getDatabaseManagerStore().begin();
  9. }

相关文章