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