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

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

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

origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

public void add(String category, BootstrapLogger.Level level) {
  boolean handled = false;
  for (LevelNode child : this.children) {
    if (category.startsWith(child.name)) {
      handled = true;
      child.add(category, level);
    }
  }
  if (!handled) {
    this.children.add(new LevelNode(category, level));
  }
}
origin: thorntail/thorntail

public void add(String category, BootstrapLogger.Level level) {
  boolean handled = false;
  for (LevelNode child : this.children) {
    if (category.startsWith(child.name)) {
      handled = true;
      child.add(category, level);
    }
  }
  if (!handled) {
    this.children.add(new LevelNode(category, level));
  }
}
origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

this.root.add(each, levels.get(each));
origin: thorntail/thorntail

this.root.add(each, levels.get(each));
org.wildfly.swarm.bootstrap.loggingLevelNodeadd

Popular methods of LevelNode

  • getLevel
  • getChildren
  • getName
  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Table (org.hibernate.mapping)
    A relational table
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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