Package com.jme3.util

Class AndroidLogHandler


  • public class AndroidLogHandler
    extends java.util.logging.Handler
    Converts from Java based logging (Logger to Android based logging Log.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      static java.lang.String loggerNameToTag​(java.lang.String loggerName)
      Returns the short logger tag for the given logger name.
      void publish​(java.util.logging.LogRecord record)  
      • Methods inherited from class java.util.logging.Handler

        getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidLogHandler

        public AndroidLogHandler()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in class java.util.logging.Handler
      • flush

        public void flush()
        Specified by:
        flush in class java.util.logging.Handler
      • publish

        public void publish​(java.util.logging.LogRecord record)
        Specified by:
        publish in class java.util.logging.Handler
      • loggerNameToTag

        public static java.lang.String loggerNameToTag​(java.lang.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