public interface ILayoutLog
Bridge and RenderSession.| Modifier and Type | Method and Description |
|---|---|
default void |
error(java.lang.String tag,
java.lang.String message,
java.lang.Object viewCookie,
java.lang.Object data)
Logs an error.
|
default void |
error(java.lang.String tag,
java.lang.String message,
java.lang.Throwable throwable,
java.lang.Object viewCookie,
java.lang.Object data)
Logs an error, and the
Throwable that triggered it. |
default void |
fidelityWarning(java.lang.String tag,
java.lang.String message,
java.lang.Throwable throwable,
java.lang.Object viewCookie,
java.lang.Object data)
Logs a fidelity warning.
|
default void |
warning(java.lang.String tag,
java.lang.String message,
java.lang.Object viewCookie,
java.lang.Object data)
Logs a warning.
|
default void warning(@Nullable
java.lang.String tag,
@NonNull
java.lang.String message,
@Nullable
java.lang.Object viewCookie,
@Nullable
java.lang.Object data)
tag - a tag describing the type of the warningmessage - the message of the warningviewCookie - the view cookie where the error generated, if availabledata - an optional data bundle that the client can use to improve the warning display.default void fidelityWarning(@Nullable
java.lang.String tag,
@NonNull
java.lang.String message,
@Nullable
java.lang.Throwable throwable,
@Nullable
java.lang.Object viewCookie,
@Nullable
java.lang.Object data)
This type of warning indicates that the render will not be the same as the rendering on a device due to limitation of the Java rendering API.
tag - a tag describing the type of the warningmessage - the message of the warningthrowable - an optional Throwable that triggered the warningviewCookie - the view cookie where the error generated, if availabledata - an optional data bundle that the client can use to improve the warning display.default void error(@Nullable
java.lang.String tag,
@NonNull
java.lang.String message,
@Nullable
java.lang.Object viewCookie,
@Nullable
java.lang.Object data)
tag - a tag describing the type of the errormessage - the message of the errorviewCookie - the view cookie where the error generated, if availabledata - an optional data bundle that the client can use to improve the error display.default void error(@Nullable
java.lang.String tag,
@NonNull
java.lang.String message,
@Nullable
java.lang.Throwable throwable,
@Nullable
java.lang.Object viewCookie,
@Nullable
java.lang.Object data)
Throwable that triggered it.tag - a tag describing the type of the errormessage - the message of the errorthrowable - the Throwable that triggered the errorviewCookie - the view cookie where the error generated, if availabledata - an optional data bundle that the client can use to improve the error display.