congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Log$Level.ordinal
Code IndexAdd Tabnine to your IDE (free)

How to use
ordinal
method
in
com.aerospike.client.Log$Level

Best Java code snippets using com.aerospike.client.Log$Level.ordinal (Showing top 8 results out of 315)

origin: aerospike/aerospike-client-java

  /**
   * Filter and forward message to callback.
   * 
   * @param level            message severity level                
   * @param message        message string not terminated with a newline
   */
  public static void log(Level level, String message) {
    if (gCallback != null && level.ordinal() <= gLevel.ordinal() ) {
      gCallback.log(level, message);
    }
  }
}
origin: aerospike/aerospike-client-java

/**
 * Determine if debug log level is enabled.
 */
public static boolean debugEnabled() {
  return gCallback != null && Level.DEBUG.ordinal() <= gLevel.ordinal();
}
origin: aerospike/aerospike-client-java

/**
 * Determine if warning log level is enabled.
 */
public static boolean warnEnabled() {
  return gCallback != null && Level.WARN.ordinal() <= gLevel.ordinal();
}
origin: com.aerospike/aerospike-client

  /**
   * Filter and forward message to callback.
   *
   * @param level            message severity level
   * @param message        message string not terminated with a newline
   */
  public static void log(Level level, String message) {
    if (gCallback != null && level.ordinal() <= gLevel.ordinal() ) {
      gCallback.log(level, message);
    }
  }
}
origin: com.aerospike/aerospike-client

/**
 * Determine if debug log level is enabled.
 */
public static boolean debugEnabled() {
  return gCallback != null && Level.DEBUG.ordinal() <= gLevel.ordinal();
}
origin: com.aerospike/aerospike-client

/**
 * Determine if info log level is enabled.
 */
public static boolean infoEnabled() {
  return gCallback != null && Level.INFO.ordinal() <= gLevel.ordinal();
}
origin: com.aerospike/aerospike-client

/**
 * Determine if warning log level is enabled.
 */
public static boolean warnEnabled() {
  return gCallback != null && Level.WARN.ordinal() <= gLevel.ordinal();
}
origin: aerospike/aerospike-client-java

/**
 * Determine if info log level is enabled.
 */
public static boolean infoEnabled() {
  return gCallback != null && Level.INFO.ordinal() <= gLevel.ordinal();
}
com.aerospike.clientLog$Levelordinal

Popular methods of Log$Level

  • toString

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top Vim plugins
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