org.mortbay.log.Logger.info()方法的使用及代码示例

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

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

Logger.info介绍

暂无

代码示例

代码示例来源:origin: org.mortbay.jetty/jetty-util

public static void info(String msg,Object arg)
{
  if (!initialized())
    return;
  __log.info(msg,arg,null);
}

代码示例来源:origin: org.mortbay.jetty/jetty-util

public static void info(String msg)
{
  if (!initialized())
    return;
  __log.info(msg,null,null);
}

代码示例来源:origin: org.mortbay.jetty/jetty-util

public static void info(String msg,Object arg0, Object arg1)
{
  if (!initialized())
    return;
  __log.info(msg,arg0,arg1);
}

代码示例来源:origin: org.mortbay.jetty/jetty-util

__log.info("Logging to {} via {}",__log,log_class.getName());
__log.info("Logging to {} via {}",__log,log_class.getName());
if(__verbose)
  e.printStackTrace();

代码示例来源:origin: org.mortbay.jetty/com.springsource.org.mortbay.jetty.server

public void log(String msg)
{
  _logger.info(msg, null, null);
}

代码示例来源:origin: org.bluestemsoftware.open.maven.tparty/jsp-2.1

public  void info(Object message)
{
  _logger.info(message.toString(), null, null);
}

代码示例来源:origin: org.mortbay.jetty/jsp-2.1-jetty

public  void info(Object message)
{
  _logger.info(message.toString(), null, null);
}

代码示例来源:origin: org.sonatype.plexus/plexus-jetty6

public void setHttpsPort( int httpsPort )
{
  Logger logger = Log.getLogger( getClass().getName() );
  logger.info( "HTTPS port set to: {}", httpsPort, null );
  this.httpsPort = httpsPort;
}

代码示例来源:origin: org.sonatype.plexus/plexus-jetty6

logger.info( "Original URL: {}", requestURL, null );
  if ( queryString != null )
    logger.info( "Adding query string to redirect: {}", queryString, null );
    result.append( '?' ).append( queryString );
  logger.info( "Redirecting to URL: {}", result, null );
  response.sendRedirect( result.toString() );
  return target;
  logger.info( "NOT redirecting. Already HTTPS: {}", requestURL, null );
  return null;

代码示例来源:origin: org.sonatype.plexus/plexus-jetty6

logger.info( "Disabling TLD support for: {} (context path: {})", webapp.getDisplayName(), webapp.getContextPath() );

代码示例来源:origin: org.sonatype.plexus/plexus-jetty6

public void lifeCycleStarting( LifeCycle lifecycle )
{
  if ( lifecycle instanceof ContextHandlerCollection )
  {
    Logger logger = Log.getLogger( getClass().getName() );
    Handler[] childHandlers = ((ContextHandlerCollection) lifecycle).getChildHandlers();
    if ( childHandlers != null && childHandlers.length > 0 )
    {
      for ( Handler child : childHandlers )
      {
        if ( child instanceof WebAppContext )
        {
          WebAppContext webapp = (WebAppContext) child;
          if ( logger != null )
          {
            logger.info( "Injecting Plexus container for: {} (context path: {})", webapp.getDisplayName(),
                   webapp.getContextPath() );
          }
          PlexusContainer container = PlexusContainerHolder.get();
          webapp.setAttribute( PlexusConstants.PLEXUS_KEY, container );
          webapp.setClassLoader( container.getContainerRealm() );
        }
      }
    }
  }
}

相关文章