Tabnine Logo
TruffleLogger.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
com.oracle.truffle.api.TruffleLogger

Best Java code snippets using com.oracle.truffle.api.TruffleLogger.getName (Showing top 5 results out of 315)

origin: org.graalvm.truffle/truffle-api

private boolean setLevelNum(final int value) {
  if (this.levelNum != value) {
    this.levelNum = value;
    final Assumption currentAssumtion = levelNumStable;
    levelNumStable = Truffle.getRuntime().createAssumption("Log Level Value stable for: " + getName());
    currentAssumtion.invalidate();
    return true;
  }
  return false;
}
origin: org.graalvm.truffle/truffle-api

@CompilerDirectives.TruffleBoundary
private boolean isLoggableSlowPath(final Object context, final Level level) {
  return LoggerCache.getInstance().isLoggable(getName(), context, level);
}
origin: org.graalvm.truffle/truffle-api

@CompilerDirectives.TruffleBoundary
private void doLog(
        final Level level,
        final String message,
        final String className,
        final String methodName,
        final Throwable thrown) {
  final LogRecord logRecord = TruffleLanguage.AccessAPI.engineAccess().createLogRecord(
          level,
          getName(),
          message,
          className,
          methodName,
          null,
          thrown);
  callHandlers(logRecord);
}
origin: org.graalvm.truffle/truffle-api

private boolean addLogger(final TruffleLogger logger) {
  final String loggerName = logger.getName();
  if (loggerName == null) {
    throw new NullPointerException("Logger must have non null name.");
origin: org.graalvm.truffle/truffle-api

@CompilerDirectives.TruffleBoundary
private void doLog(
        final Level level,
        final String message,
        final String className,
        final String methodName,
        final Object[] params) {
  final LogRecord logRecord = TruffleLanguage.AccessAPI.engineAccess().createLogRecord(
          level,
          getName(),
          message,
          className,
          methodName,
          params,
          null);
  callHandlers(logRecord);
}
com.oracle.truffle.apiTruffleLoggergetName

Javadoc

Returns the name of the logger.

Popular methods of TruffleLogger

  • getLogger
    Find or create a logger for a given language or instrument. If a logger with given name already exis
  • isLoggable
    Checks if a message of the given level would be logged by this logger.
  • log
    Logs a message. The message is constructed only when the logger is enabled for the given level. If t
  • <init>
  • callHandlers
  • doLog
  • fine
    Logs a message with Level#FINE. The message is constructed only when the logger is enabled for the L
  • finer
    Logs a message with Level#FINER. The message is constructed only when the logger is enabled for the
  • getLevelNum
  • getParent
    Returns the parent TruffleLogger.
  • isLoggableSlowPath
  • logp
    Logs a message, specifying source class and source method. The message is constructed only when the
  • isLoggableSlowPath,
  • logp,
  • setLevelNum,
  • severe,
  • updateLevelNum,
  • warning

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top PhpStorm 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