FileDocCategorySizeDatePackage
ISdkLog.javaAPI DocAndroid 1.5 API2606Wed May 06 22:41:10 BST 2009com.android.sdklib

ISdkLog

public interface ISdkLog
Interface used to display warnings/errors while parsing the SDK content.

Fields Summary
Constructors Summary
Methods Summary
public voiderror(java.lang.Throwable t, java.lang.String errorFormat, java.lang.Object args)
Prints an error message on stderr.

The message will be tagged with "Error" on the output so the caller does not need to put such a prefix in the format string.

Implementation should always display errors, independent of verbose mode.

param
t is an optional {@link Throwable} or {@link Exception}. If non-null, it's message will be printed out.
param
errorFormat is an optional error format. If non-null, it will be printed using a {@link Formatter} with the provided arguments.
param
args provides the arguments for errorFormat.

public voidprintf(java.lang.String msgFormat, java.lang.Object args)
Prints a message as-is on stdout.

Implementation should always display errors, independent of verbose mode. No prefix is used, the message is printed as-is after formatting.

param
msgFormat is an optional error format. If non-null, it will be printed using a {@link Formatter} with the provided arguments.
param
args provides the arguments for msgFormat.

public voidwarning(java.lang.String warningFormat, java.lang.Object args)
Prints a warning message on stdout.

The message will be tagged with "Warning" on the output so the caller does not need to put such a prefix in the format string.

Implementations should only display warnings in verbose mode.

param
warningFormat is an optional error format. If non-null, it will be printed using a {@link Formatter} with the provided arguments.
param
args provides the arguments for warningFormat.