congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Logger.setLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
setLevel
method
in
com.speedment.common.logger.Logger

Best Java code snippets using com.speedment.common.logger.Logger.setLevel (Showing top 5 results out of 315)

origin: speedment/speedment

@Override
public void setLevel(String path, Level level) {
  requireNonNulls(path, level);
  loggers()
    .filter(e
      -> e.getKey().startsWith(path)
    )
    .map(Entry::getValue).forEach((Logger l)
    -> l.setLevel(level)
  );
}
origin: speedment/speedment

@Override
public BUILDER withLogging(HasLoggerName namer) {
  LoggerManager.getLogger(namer.getLoggerName()).setLevel(Level.DEBUG);
  
  if (LogType.APPLICATION_BUILDER.getLoggerName()
      .equals(namer.getLoggerName())) {
    
    // Special case becaues its in a common module
    Injector.logger().setLevel(Level.DEBUG); 
    InjectorBuilder.logger().setLevel(Level.DEBUG);
  }
  
  return self();
}
origin: speedment/speedment

requireNonNull(stage);
InjectorBuilder.logger().setLevel(DEBUG);
origin: com.speedment.common/logger

@Override
public void setLevel(String path, Level level) {
  requireNonNulls(path, level);
  loggers()
    .filter(e
      -> e.getKey().startsWith(path)
    )
    .map(Entry::getValue).forEach((Logger l)
    -> l.setLevel(level)
  );
}
origin: com.speedment.runtime/runtime-application

@Override
public BUILDER withLogging(HasLoggerName namer) {
  LoggerManager.getLogger(namer.getLoggerName()).setLevel(Level.DEBUG);
  
  if (LogType.APPLICATION_BUILDER.getLoggerName()
      .equals(namer.getLoggerName())) {
    
    // Special case becaues its in a common module
    Injector.logger().setLevel(Level.DEBUG); 
    InjectorBuilder.logger().setLevel(Level.DEBUG);
  }
  
  return self();
}
com.speedment.common.loggerLoggersetLevel

Javadoc

Sets the current log level.

Popular methods of Logger

  • error
    Logs a message based on the given format and enriched with the passed arguments at level com.speedme
  • info
    Logs a message based on the given format and enriched with the passed arguments at level com.speedme
  • debug
    Logs a message based on the given format and enriched with the passed arguments at level com.speedme
  • warn
    Logs a message based on the given format and enriched with the passed arguments at level com.speedme
  • getLevel
    Returns the current log level.
  • addListener
    Adds a LoggerEventListener to this Logger.
  • removeListener
    Removes a LoggerEventListener to this Logger if it was previously registered.
  • setFormatter
    Sets the formatter.
  • trace
    Logs a message based on the given format and enriched with the passed arguments at level com.speedme

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • PhpStorm for WordPress
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