本文整理了Java中org.ocpsoft.logging.Logger.info()
方法的一些代码示例,展示了Logger.info()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.info()
方法的具体详情如下:
包路径:org.ocpsoft.logging.Logger
类名称:Logger
方法名:info
暂无
代码示例来源:origin: ocpsoft/rewrite
public RewritePhaseListener()
{
log.info(RewritePhaseListener.class.getSimpleName() + " starting up.");
}
代码示例来源:origin: org.ocpsoft.rewrite/rewrite-integration-faces
public RewritePhaseListener()
{
log.info(RewritePhaseListener.class.getSimpleName() + " starting up.");
}
代码示例来源:origin: ocpsoft/rewrite
@Override
public void destroy()
{
log.info("RewriteFilter shutting down...");
for (RewriteProvider<ServletContext, Rewrite> provider : providers) {
if (provider instanceof ServletRewriteProvider)
((ServletRewriteProvider<?>) provider).shutdown(servletContext);
}
log.info("RewriteFilter deactivated.");
}
代码示例来源:origin: org.ocpsoft.rewrite/rewrite-impl-servlet
@Override
public void destroy()
{
log.info("RewriteFilter shutting down...");
for (RewriteProvider<ServletContext, Rewrite> provider : providers) {
if (provider instanceof ServletRewriteProvider)
((ServletRewriteProvider<?>) provider).shutdown(servletContext);
}
log.info("RewriteFilter deactivated.");
}
代码示例来源:origin: ocpsoft/rewrite
@Override
public void destroy()
{
log.info("RewriteFilter shutting down...");
for (RewriteProvider<ServletContext, Rewrite> provider : providers) {
if (provider instanceof ServletRewriteProvider)
((ServletRewriteProvider<?>) provider).shutdown(servletContext);
}
log.info("RewriteFilter deactivated.");
}
代码示例来源:origin: ocpsoft/rewrite
public static <T> void logLoadedServices(final Logger log, final Class<T> type, final List<? extends T> services)
{
log.info("Loaded [" + services.size() + "] " + type.getName() + " ["
+ joinTypeNames(services) + "]");
}
代码示例来源:origin: ocpsoft/rewrite
@Override
public void handle(final Rewrite event, final EvaluationContext context, final Object result)
{
if (event instanceof HttpInboundServletRewrite)
{
if (result instanceof String)
{
log.info("Storing Invocation result [" + result + "] as deferred navigation string.");
((HttpInboundServletRewrite) event).getRequest().setAttribute(QUEUED_NAVIGATION, result);
}
}
}
代码示例来源:origin: org.ocpsoft.rewrite/rewrite-integration-faces
@Override
public void handle(final Rewrite event, final EvaluationContext context, final Object result)
{
if (event instanceof HttpInboundServletRewrite)
{
if (result instanceof String)
{
log.info("Storing Invocation result [" + result + "] as deferred navigation string.");
((HttpInboundServletRewrite) event).getRequest().setAttribute(QUEUED_NAVIGATION, result);
}
}
}
代码示例来源:origin: ocpsoft/rewrite
public static <T> void logLoadedServices(final Logger log, final Class<T> type, final List<? extends T> services)
{
log.info("Loaded [" + services.size() + "] " + type.getName() + " ["
+ joinTypeNames(services) + "]");
}
代码示例来源:origin: ocpsoft/rewrite
log.info(buildLogOutput(event).toString());
break;
case WARN:
代码示例来源:origin: ocpsoft/rewrite
log.info(buildLogOutput(event).toString());
break;
case WARN:
代码示例来源:origin: ocpsoft/rewrite
@Override
public void perform(Rewrite event, EvaluationContext context)
{
String message = messageBuilder.build(event, context);
switch (level)
{
case TRACE:
if (log.isTraceEnabled())
log.trace(message);
break;
case DEBUG:
if (log.isDebugEnabled())
log.debug(message);
break;
case INFO:
if (log.isInfoEnabled())
log.info(message);
break;
case WARN:
if (log.isWarnEnabled())
log.warn(message);
break;
case ERROR:
if (log.isErrorEnabled())
log.error(message);
break;
default:
break;
}
}
代码示例来源:origin: ocpsoft/rewrite
@Override
public void perform(Rewrite event, EvaluationContext context)
{
String message = messageBuilder.build(event, context);
switch (level)
{
case TRACE:
if (log.isTraceEnabled())
log.trace(message);
break;
case DEBUG:
if (log.isDebugEnabled())
log.debug(message);
break;
case INFO:
if (log.isInfoEnabled())
log.info(message);
break;
case WARN:
if (log.isWarnEnabled())
log.warn(message);
break;
case ERROR:
if (log.isErrorEnabled())
log.error(message);
break;
default:
break;
}
}
代码示例来源:origin: ocpsoft/rewrite
log.info("RewriteFilter starting up...");
log.info(Version.getFullName() + " initialized.");
代码示例来源:origin: org.ocpsoft.rewrite/rewrite-impl-servlet
log.info("RewriteFilter starting up...");
log.info(Version.getFullName() + " initialized.");
代码示例来源:origin: ocpsoft/rewrite
log.info("RewriteFilter starting up...");
log.info(Version.getFullName() + " initialized.");
代码示例来源:origin: org.jboss.windup.config/windup-config-api
@Override
public void perform(Rewrite event, EvaluationContext context)
{
// Quite verbose. TODO: ... See https://github.com/ocpsoft/logging/issues/1
switch (level)
{
case TRACE:
if (log.isTraceEnabled())
log.trace(messageBuilder.build(event, context));
break;
case DEBUG:
if (log.isDebugEnabled())
log.debug(messageBuilder.build(event, context));
break;
case INFO:
if (log.isInfoEnabled())
log.info(messageBuilder.build(event, context));
break;
case WARN:
if (log.isWarnEnabled())
log.warn(messageBuilder.build(event, context));
break;
case ERROR:
if (log.isErrorEnabled())
log.error(messageBuilder.build(event, context));
break;
}
}
代码示例来源:origin: windup/windup
@Override
public void perform(Rewrite event, EvaluationContext context)
{
// Quite verbose. TODO: ... See https://github.com/ocpsoft/logging/issues/1
switch (level)
{
case TRACE:
if (log.isTraceEnabled())
log.trace(messageBuilder.build(event, context));
break;
case DEBUG:
if (log.isDebugEnabled())
log.debug(messageBuilder.build(event, context));
break;
case INFO:
if (log.isInfoEnabled())
log.info(messageBuilder.build(event, context));
break;
case WARN:
if (log.isWarnEnabled())
log.warn(messageBuilder.build(event, context));
break;
case ERROR:
if (log.isErrorEnabled())
log.error(messageBuilder.build(event, context));
break;
}
}
内容来源于网络,如有侵权,请联系作者删除!