Tabnine Logo
BatfishLogger.setLogLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
setLogLevel
method
in
org.batfish.common.BatfishLogger

Best Java code snippets using org.batfish.common.BatfishLogger.setLogLevel (Showing top 4 results out of 315)

origin: batfish/batfish

public BatfishLogger(String logLevel, boolean timestamp, PrintStream stream) {
 _history = null;
 _timestamp = timestamp;
 String levelStr = logLevel;
 setLogLevel(levelStr);
 _ps = stream;
}
origin: batfish/batfish

public BatfishLogger(String logLevel, boolean timestamp) {
 _timestamp = timestamp;
 setLogLevel(logLevel);
 _history = new BatfishLoggerHistory();
}
origin: batfish/batfish

_timestamp = timestamp;
String levelStr = logLevel;
setLogLevel(levelStr);
_logFile = logFile;
if (_logFile != null) {
origin: batfish/batfish

private boolean setLogLevel(List<String> options, List<String> parameters) {
 if (!isValidArgument(options, parameters, 0, 1, 1, Command.SET_LOGLEVEL)) {
  return false;
 }
 String logLevelStr = parameters.get(0).toLowerCase();
 if (!BatfishLogger.isValidLogLevel(logLevelStr)) {
  _logger.errorf("Undefined loglevel value: %s\n", logLevelStr);
  return false;
 }
 _logger.setLogLevel(logLevelStr);
 _settings.setLogLevel(logLevelStr);
 _logger.outputf("Changed client loglevel to %s\n", logLevelStr);
 return true;
}
org.batfish.commonBatfishLoggersetLogLevel

Popular methods of BatfishLogger

  • <init>
  • debugf
  • errorf
  • info
  • error
  • infof
  • warnf
  • debug
  • getLogLevel
  • getLogLevelStr
  • output
  • append
  • output,
  • append,
  • getHistory,
  • isActive,
  • warn,
  • close,
  • getElapsedTime,
  • getPrintStream,
  • getRotatedLogFilename

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Join (org.hibernate.mapping)
  • Table (org.hibernate.mapping)
    A relational table
  • Top 12 Jupyter Notebook extensions
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