OSDN Git Service

Remove error(tag, throwable) from LayoutLog.
authorXavier Ducrohet <xav@android.com>
Tue, 11 Jan 2011 21:12:23 +0000 (13:12 -0800)
committerXavier Ducrohet <xav@android.com>
Tue, 11 Jan 2011 21:12:23 +0000 (13:12 -0800)
commit64cc0e21c489faa2fa03187674c80a006481ea1e
treef1934b136001bd08c51aea76721ae75877373cf7
parent9e7b1152a98eb77eeb96cecbfd0ea3e3abe7a58c
Remove error(tag, throwable) from LayoutLog.

We should never only log an exception with no associated
message.
Also, I've found several case in the layoutlib where there
is a message in place of the tag.

This new API makes it more clear that there's both a tag and a message
since both are required for error()

Change-Id: I6d5f45c07b1cb8df96311d930170526bb729fae6
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLogger.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetData.java
ide_common/src/com/android/ide/common/rendering/LayoutLibrary.java
layoutlib_api/src/com/android/ide/common/rendering/api/LayoutLog.java