Codota Logo
Logger.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
org.eclipse.jetty.util.log.Logger

Best Java code snippets using org.eclipse.jetty.util.log.Logger.getName (Showing top 11 results out of 315)

  • Common ways to obtain Logger
private void myMethod () {
Logger l =
  • Codota IconLog.getRootLogger()
  • Codota IconString name;new Slf4jLog(name)
  • Codota IconString name;new JavaUtilLog(name)
  • Smart code suggestions by Codota
}
origin: org.eclipse.jetty/jetty-util

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: org.eclipse.platform/org.eclipse.equinox.http.jetty

@Override
public String getName() {
  return realLogger.getName();
}
origin: org.eclipse.jetty.aggregate/jetty-all-server

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: org.eclipse.jetty.aggregate/jetty-webapp

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: org.eclipse.jetty.aggregate/jetty-plus

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: Nextdoor/bender

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: jenkinsci/winstone

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: com.jfinal/jetty-server

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: org.eclipse.jetty.aggregate/jetty-server

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Legacy interface where a programmatic configuration of the logger level
 * is done as a wholesale approach.
 */
@Override
public void setDebugEnabled(boolean enabled)
{
  if (enabled)
  {
    this._level = LEVEL_DEBUG;
    for (Logger log : Log.getLoggers().values())
    {                
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(LEVEL_DEBUG);
    }
  }
  else
  {
    this._level = this._configuredLevel;
    for (Logger log : Log.getLoggers().values())
    {
      if (log.getName().startsWith(getName()) && log instanceof StdErrLog)
        ((StdErrLog)log).setLevel(((StdErrLog)log)._configuredLevel);
    }
  }
}
org.eclipse.jetty.util.logLoggergetName

Popular methods of Logger

  • debug
    Logs the given Throwable information at debug level
  • isDebugEnabled
  • warn
    Logs the given Throwable information at warn level
  • info
    Logs the given Throwable information at info level
  • ignore
    Ignore an exception.This should be used rather than an empty catch block.
  • getLogger
  • setDebugEnabled
    Mutator used to turn debug on programmatically.

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
  • setContentView (Activity)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now