org.eclipse.jetty.util.log.Logger.setDebugEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(159)

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

Logger.setDebugEnabled介绍

[英]Mutator used to turn debug on programmatically.
[中]

代码示例

代码示例来源:origin: apache/incubator-dubbo

Log.getLog().setDebugEnabled(false);

代码示例来源:origin: apache/incubator-dubbo

Log.getLog().setDebugEnabled(false);

代码示例来源:origin: org.eclipse.platform/org.eclipse.equinox.http.jetty

public EquinoxStdErrLog(String name, Logger realLogger) {
  this.localName = name;
  this.realLogger = realLogger == null ? new StdErrLog(name) : realLogger;
  if (threshold == DEBUG)
    this.realLogger.setDebugEnabled(true);
}

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

public void setDebugEnabled(String logger, Boolean enabled)
  {
    Log.getLogger(logger).setDebugEnabled(enabled);
  }
}

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

@ManagedOperation(value="Set debug enabled for given logger")
  public void setDebugEnabled(@Name("logger")String logger, @Name("enabled") Boolean enabled)
  {
    Log.getLogger(logger).setDebugEnabled(enabled);
  }
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

@ManagedOperation(value="Set debug enabled for given logger")
  public void setDebugEnabled(@Name("logger")String logger, @Name("enabled") Boolean enabled)
  {
    Log.getLogger(logger).setDebugEnabled(enabled);
  }
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

@ManagedOperation(value="Set debug enabled for given logger")
  public void setDebugEnabled(@Name("logger")String logger, @Name("enabled") Boolean enabled)
  {
    Log.getLogger(logger).setDebugEnabled(enabled);
  }
}

代码示例来源:origin: jenkinsci/winstone

@ManagedOperation(value="Set debug enabled for given logger")
  public void setDebugEnabled(@Name("logger")String logger, @Name("enabled") Boolean enabled)
  {
    Log.getLogger(logger).setDebugEnabled(enabled);
  }
}

代码示例来源:origin: org.apache.dubbo/dubbo

Log.getLog().setDebugEnabled(false);

代码示例来源:origin: org.apache.dubbo/dubbo-remoting-http

Log.getLog().setDebugEnabled(false);

相关文章