Tabnine Logo
LevelNode.getLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
getLevel
method
in
org.wildfly.swarm.bootstrap.logging.LevelNode

Best Java code snippets using org.wildfly.swarm.bootstrap.logging.LevelNode.getLevel (Showing top 9 results out of 315)

origin: thorntail/thorntail

public BootstrapLogger.Level getLevel(String category) {
  for (LevelNode child : this.children) {
    if (category.startsWith(child.name)) {
      return child.getLevel(category);
    }
  }
  return this.level;
}
origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

  public BootstrapLogger.Level getLevel(String category) {
    for (LevelNode child : this.children) {
      if (category.startsWith(child.name)) {
        return child.getLevel(category);
      }
    }

    return this.level;
  }
}
origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

@Override
public BackingLogger getBackingLogger(String name) {
  return new InitialBackingLogger(name, this.root.getLevel(name));
}
origin: thorntail/thorntail

@Override
public BackingLogger getBackingLogger(String name) {
  return new InitialBackingLogger(name, this.root.getLevel(name));
}
origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

  protected void apply(LevelNode node, LogContextConfiguration config) {
    if (!node.getName().equals("")) {
      config.addLoggerConfiguration(node.getName()).setLevel(node.getLevel().toString());
    }

    for (LevelNode each : node.getChildren()) {
      apply(each, config);
    }
  }
}
origin: org.wildfly.swarm/container-runtime

protected void apply(LevelNode node, LogContextConfiguration config) {
  if (!node.getName().equals("")) {
    config.addLoggerConfiguration(node.getName()).setLevel(node.getLevel().toString());
  }
  for (LevelNode each : node.getChildren()) {
    apply(each, config);
  }
}
origin: org.wildfly.swarm/container

protected void apply(LevelNode node, LogContextConfiguration config) {
  if (!node.getName().equals("")) {
    config.addLoggerConfiguration(node.getName()).setLevel(node.getLevel().toString());
  }
  for (LevelNode each : node.getChildren()) {
    apply(each, config);
  }
}
origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

private void apply(LevelNode node, LoggingFraction fraction) {
  if (!node.getName().equals("")) {
    fraction.logger(node.getName(), (l) -> {
      l.level(Level.valueOf(node.getLevel().toString()));
    });
  }
  for (LevelNode each : node.getChildren()) {
    apply(each, fraction);
  }
}
origin: org.wildfly.swarm/logging

  private void apply(LevelNode node) {
    if (!node.getName().equals("")) {
      this.fraction.logger(node.getName(), (l) -> {
        l.level(Level.valueOf(node.getLevel().toString()));
      });
    }
    for (LevelNode each : node.getChildren()) {
      apply(each);
    }
  }
}
org.wildfly.swarm.bootstrap.loggingLevelNodegetLevel

Popular methods of LevelNode

  • getChildren
  • getName
  • <init>
  • add

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now