org.modeshape.common.logging.Logger.isInfoEnabled()方法的使用及代码示例

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

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

Logger.isInfoEnabled介绍

[英]Return whether messages at the INFORMATION level are being logged.
[中]返回是否正在记录信息级别的消息。

代码示例

代码示例来源:origin: org.modeshape/modeshape-web-jcr

@Override
public boolean isInfoEnabled() {
  return logger.isInfoEnabled();
}

代码示例来源:origin: ModeShape/modeshape

@Override
public boolean isInfoEnabled() {
  return logger.isInfoEnabled();
}

代码示例来源:origin: ModeShape/modeshape

@Override
public boolean isInfoEnabled() {
  return logger.isInfoEnabled();
}

代码示例来源:origin: org.fcrepo/modeshape-jcr

@Override
public boolean isInfoEnabled() {
  return logger.isInfoEnabled();
}

代码示例来源:origin: ModeShape/modeshape

@Override
public void info( Throwable t,
         String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(t, new TextI18n(message), params);
  }
}

代码示例来源:origin: org.fcrepo/modeshape-jcr

@Override
public void info( String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(new TextI18n(message), params);
  }
}

代码示例来源:origin: ModeShape/modeshape

@Override
public void info( String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(new TextI18n(message), params);
  }
}

代码示例来源:origin: org.fcrepo/modeshape-jcr

@Override
public void info( Throwable t,
         String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(t, new TextI18n(message), params);
  }
}

代码示例来源:origin: org.modeshape/modeshape-web-jcr

@Override
public void info( String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(new TextI18n(message), params);
  }
}

代码示例来源:origin: ModeShape/modeshape

@Override
public void info( String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(new TextI18n(message), params);
  }
}

代码示例来源:origin: ModeShape/modeshape

@Override
public void info( Throwable t,
         String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(t, new TextI18n(message), params);
  }
}

代码示例来源:origin: org.modeshape/modeshape-web-jcr

@Override
public void info( Throwable t,
         String message,
         Object... params ) {
  if (logger.isInfoEnabled()) {
    logger.info(t, new TextI18n(message), params);
  }
}

代码示例来源:origin: ModeShape/modeshape

@Test
public void shouldSupportAskingWhetherLoggingLevelsAreEnabled() {
  logger.isErrorEnabled();
  logger.isWarnEnabled();
  logger.isInfoEnabled();
  logger.isDebugEnabled();
  logger.isTraceEnabled();
}

相关文章