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

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

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

Logger.warn介绍

暂无

代码示例

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

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

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

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

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

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

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

public static void warn(Throwable th)
{
  if (!initialized())
    return;
  __log.warn(EXCEPTION,th);
  unwind(th);
}

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

public static void warn(String msg, Throwable th)
{
  if (!initialized())
    return;
  __log.warn(msg,th);
  unwind(th);
}

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

/**
 * Ignore an exception unless trace is enabled.
 * This works around the problem that log4j does not support the trace level.
 */
public static void ignore(Throwable th)
{
  if (!initialized())
    return;
  if (__ignored)
  {
    __log.warn(IGNORED,th);
    unwind(th);
  }
  else if (__verbose)
  {
    __log.warn(IGNORED,th);
    unwind(th);
  }
}

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

public void log(String message, Throwable throwable)
{
  _logger.warn(message,throwable);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation)
{
  if (!ContinuationFilter._initialized)
  {
    LOG.warn("!ContinuationFilter installed",null,null);
    throw new IllegalStateException("!ContinuationFilter installed");
  }
  _request=request;
  _j6Continuation=continuation;
}

代码示例来源:origin: org.eclipse.jetty/continuation

public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation)
{
  if (!ContinuationFilter._initialized)
  {
    LOG.warn("!ContinuationFilter installed",null,null);
    throw new IllegalStateException("!ContinuationFilter installed");
  }
  _request=request;
  _j6Continuation=continuation;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation)
{
  if (!ContinuationFilter._initialized)
  {
    LOG.warn("!ContinuationFilter installed",null,null);
    throw new IllegalStateException("!ContinuationFilter installed");
  }
  _request=request;
  _j6Continuation=continuation;
}

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

public  void fatal (Object message, Throwable t)
{
  _logger.warn(message.toString(), t);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation)
{
  if (!ContinuationFilter._initialized)
  {
    LOG.warn("!ContinuationFilter installed",null,null);
    throw new IllegalStateException("!ContinuationFilter installed");
  }
  _request=request;
  _j6Continuation=continuation;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

public Jetty6Continuation(ServletRequest request, org.mortbay.util.ajax.Continuation continuation)
{
  if (!ContinuationFilter._initialized)
  {
    LOG.warn("!ContinuationFilter installed",null,null);
    throw new IllegalStateException("!ContinuationFilter installed");
  }
  _request=request;
  _j6Continuation=continuation;
}

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

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

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

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

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

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

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

public  void fatal (Object message, Throwable t)
{
  _logger.warn(message.toString(), t);
}

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

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

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

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

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

public  void error(Object message, Throwable cause)
{
  _logger.warn(message.toString(), cause);
}

相关文章