Package com.jme3.util
Class AndroidLogHandler
java.lang.Object
java.util.logging.Handler
com.jme3.util.AndroidLogHandler
Converts from Java based logging (
Logger
to Android based logging
Log
.-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
AndroidLogHandler
public AndroidLogHandler()
-
-
Method Details
-
close
public void close() -
flush
public void flush() -
publish
-
loggerNameToTag
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
-