public class AndroidLogHandler
extends java.util.logging.Handler
Logger
to Android based logging
Log
.Constructor and Description |
---|
AndroidLogHandler() |
Modifier and Type | Method and 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) |
public void close()
close
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public static java.lang.String loggerNameToTag(java.lang.String loggerName)
loggerName
- the logger name, or null for anonymous