本文整理了Java中org.modeshape.common.logging.Logger.isErrorEnabled()
方法的一些代码示例,展示了Logger.isErrorEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isErrorEnabled()
方法的具体详情如下:
包路径:org.modeshape.common.logging.Logger
类名称:Logger
方法名:isErrorEnabled
[英]Return whether messages at the ERROR level are being logged.
[中]返回是否正在记录错误级别的消息。
代码示例来源:origin: ModeShape/modeshape
@Override
public boolean isErrorEnabled() {
return logger.isErrorEnabled();
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
@Override
public boolean isErrorEnabled() {
return logger.isErrorEnabled();
}
代码示例来源:origin: org.modeshape/modeshape-web-jcr
@Override
public boolean isErrorEnabled() {
return logger.isErrorEnabled();
}
代码示例来源:origin: ModeShape/modeshape
@Override
public boolean isErrorEnabled() {
return logger.isErrorEnabled();
}
代码示例来源:origin: ModeShape/modeshape
@Override
public void error( String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(new TextI18n(message), params);
}
}
代码示例来源:origin: ModeShape/modeshape
@Override
public void error( Throwable t,
String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(t, new TextI18n(message), params);
}
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
@Override
public void error( Throwable t,
String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(t, new TextI18n(message), params);
}
}
代码示例来源:origin: ModeShape/modeshape
@Override
public void error( String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(new TextI18n(message), params);
}
}
代码示例来源:origin: org.modeshape/modeshape-web-jcr
@Override
public void error( Throwable t,
String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(t, new TextI18n(message), params);
}
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
@Override
public void error( String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(new TextI18n(message), params);
}
}
代码示例来源:origin: ModeShape/modeshape
@Override
public void error( Throwable t,
String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(t, new TextI18n(message), params);
}
}
代码示例来源:origin: org.modeshape/modeshape-web-jcr
@Override
public void error( String message,
Object... params ) {
if (logger.isErrorEnabled()) {
logger.error(new TextI18n(message), params);
}
}
代码示例来源:origin: ModeShape/modeshape
@Test
public void shouldSupportAskingWhetherLoggingLevelsAreEnabled() {
logger.isErrorEnabled();
logger.isWarnEnabled();
logger.isInfoEnabled();
logger.isDebugEnabled();
logger.isTraceEnabled();
}
内容来源于网络,如有侵权,请联系作者删除!