Package com.jme3.util

Class AndroidLogHandler

java.lang.Object
java.util.logging.Handler
com.jme3.util.AndroidLogHandler

public class AndroidLogHandler extends Handler
Converts from Java based logging (Logger to Android based logging Log.
  • Constructor Details

    • AndroidLogHandler

      public AndroidLogHandler()
  • Method Details

    • close

      public void close()
      Specified by:
      close in class Handler
    • flush

      public void flush()
      Specified by:
      flush in class Handler
    • publish

      public void publish(LogRecord record)
      Specified by:
      publish in class Handler
    • loggerNameToTag

      public static String loggerNameToTag(String loggerName)
      Returns the short logger tag for the given logger name. Traditionally loggers are named by fully-qualified Java classes; this method attempts to return a concise identifying part of such names.
      Parameters:
      loggerName - the logger name, or null for anonymous
      Returns:
      the short logger tag