Package dalvik.system
Interface DalvikLogHandler
-
public interface DalvikLogHandlerAn optimized handler for efficient publishing of basic log messages. Implementers should also be subclasses ofHandler.Unlike the default log handler, this API doesn't require intermediate objects to be allocated for log handling. It also includes a short tag, which may otherwise need to be calculated for each published message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpublish(Logger source, String tag, Level level, String message)Publishes a log message.
-
-
-
Method Detail
-
publish
void publish(Logger source, String tag, Level level, String message)
Publishes a log message. UnlikeHandler.publish(java.util.logging.LogRecord), this method includes only the raw log message. Log messages that were created with additional fields (parameters, source methods, etc.) will flow through the conventional channels instead.- Parameters:
tag- the short (23 characters or fewer) logger tag identifyinglogger.
-
-