FileDocCategorySizeDatePackage
AndroidPrintStream.javaAPI DocAndroid 1.5 API1332Wed May 06 22:41:56 BST 2009com.android.internal.os

AndroidPrintStream

public class AndroidPrintStream extends LoggingPrintStream
Print stream which log lines using Android's logging system. {@hide}

Fields Summary
private final int
priority
private final String
tag
Constructors Summary
public AndroidPrintStream(int priority, String tag)
Constructs a new logging print stream.

param
priority from {@link android.util.Log}
param
tag to log

        if (tag == null) {
            throw new NullPointerException("tag");
        }

        this.priority = priority;
        this.tag = tag;
    
Methods Summary
protected voidlog(java.lang.String line)

        Log.println(priority, tag, line);