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

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

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

Logger.debug介绍

暂无

代码示例

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

  1. /**
  2. * Debug any object.
  3. * @param logger
  4. * @param title
  5. * @param o
  6. */
  7. public static void print(final Logger logger, final String title, final Object o) {
  8. logger.debug("*******************************************************************");
  9. print(logger, title, o, 1);
  10. logger.debug("*******************************************************************");
  11. }

代码示例来源: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/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/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/example-domain-services

  1. /**
  2. * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
  3. */
  4. @Override
  5. public void afterPropertiesSet() throws Exception {
  6. logger.debug("in afterPropertiesSet");
  7. Assert.notNull(this.daoService,
  8. "property daoService of class " + this.getClass().getName() + " can not be null");
  9. }

代码示例来源: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/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-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/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. }

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

  1. @Override
  2. public void beforePhase(PhaseEvent event) {
  3. logger.debug("In beforePhase");
  4. if (event.getPhaseId().equals(PhaseId.RESTORE_VIEW)) {
  5. FacesContext context = event.getFacesContext();
  6. PortletRequest request = (PortletRequest) context.getExternalContext().getRequest();
  7. ContextUtils.exposeRequest(request);
  8. JpaUtils.exposeEntityManager(request);
  9. }
  10. }

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

  1. @Override
  2. public void afterPhase(PhaseEvent event) {
  3. logger.debug("In afterPhase");
  4. FacesContext context = event.getFacesContext();
  5. if (event.getPhaseId().equals(PhaseId.RENDER_RESPONSE) || context.getResponseComplete()
  6. || (!event.getPhaseId().equals(PhaseId.RESTORE_VIEW) && context.getRenderResponse())) {
  7. PortletRequest request = (PortletRequest) context.getExternalContext().getRequest();
  8. ContextUtils.unexposeRequest(request);
  9. }
  10. }

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

  1. @Override
  2. public void afterPhase(PhaseEvent event) {
  3. logger.debug("In afterPhase");
  4. FacesContext context = event.getFacesContext();
  5. if (event.getPhaseId().equals(PhaseId.RENDER_RESPONSE) || context.getResponseComplete()
  6. || (!event.getPhaseId().equals(PhaseId.RESTORE_VIEW) && context.getRenderResponse())) {
  7. PortletRequest request = (PortletRequest) context.getExternalContext().getRequest();
  8. JpaUtils.unexposeEntityManager(request);
  9. ContextUtils.unexposeRequest(request);
  10. }
  11. }

相关文章