本文整理了Java中org.apache.logging.log4j.core.Logger.isEnabled()
方法的一些代码示例,展示了Logger.isEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isEnabled()
方法的具体详情如下:
包路径:org.apache.logging.log4j.core.Logger
类名称:Logger
方法名:isEnabled
暂无
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker, Object message, Throwable t) {
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker, String message, Throwable t) {
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level) {
return getLogger().isEnabled(level);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker, String message) {
return getLogger().isEnabled(level, marker, message);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker, String message, Object... params) {
return getLogger().isEnabled(level, marker, message, params);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker, Message message, Throwable t) {
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: mulesoft/mule
@Override
public boolean isEnabled(Level level, Marker marker) {
return getLogger().isEnabled(level, marker);
}
代码示例来源:origin: org.apache.logging.log4j.adapters/log4j-1.2-api
private boolean isEnabledFor(final org.apache.logging.log4j.Level level) {
return logger.isEnabled(level, null, null);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level)
{
return getLogger().isEnabled(level);
}
代码示例来源:origin: org.mule.runtime/mule-module-launcher
@Override
public boolean isEnabled(Level level) {
return getLogger().isEnabled(level);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, String message, Object... params)
{
return getLogger().isEnabled(level, marker, message, params);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, Message message, Throwable t)
{
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: org.mule.runtime/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, String message, Object... params) {
return getLogger().isEnabled(level, marker, message, params);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, String message, Throwable t)
{
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, String message)
{
return getLogger().isEnabled(level, marker, message);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker, Object message, Throwable t)
{
return getLogger().isEnabled(level, marker, message, t);
}
代码示例来源:origin: org.mule.modules/mule-module-launcher
@Override
public boolean isEnabled(Level level, Marker marker)
{
return getLogger().isEnabled(level, marker);
}
代码示例来源:origin: org.apache.logging.log4j/log4j12-api
private void maybeLog(String fqcn, org.apache.logging.log4j.Level level,
Object message, Throwable throwable) {
if (logger.isEnabled(level, null, message, throwable)) {
logger.log(null, FQCN, level, new ObjectMessage(message), throwable);
}
}
代码示例来源:origin: org.apache.logging.log4j/log4j-1.2-api
private void maybeLog(final String fqcn, final org.apache.logging.log4j.Level level,
final Object message, final Throwable throwable) {
if (logger.isEnabled(level, null, message, throwable)) {
logger.logMessage(FQCN, level, null, new ObjectMessage(message), throwable);
}
}
代码示例来源:origin: org.apache.logging.log4j.adapters/log4j-1.2-api
private void maybeLog(final String fqcn, final org.apache.logging.log4j.Level level,
final Object message, final Throwable throwable) {
if (logger.isEnabled(level, null, message, throwable)) {
logger.log(null, FQCN, level, new ObjectMessage(message), throwable);
}
}
内容来源于网络,如有侵权,请联系作者删除!