public interface DalvikLogHandler
Handler.
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.
| Modifier and Type | Method and Description |
|---|---|
void |
publish(Logger source,
String tag,
Level level,
String message)
Publishes a log message.
|
void publish(Logger source, String tag, Level level, String message)
Handler.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.tag - the short (23 characters or fewer) logger tag identifying
logger.