Android
android.util
public class

android.util.LogPrinter

java.lang.Object
android.util.LogPrinter Printer

Implementation of a Printer that sends its output to the system log.

Summary

Public Constructors

            LogPrinter(int priority, String tag)
Create a new Printer that sends to the log with the given priority and tag.

Public Methods

          void  println(String x)
Write a line of text to the output.
Methods inherited from class java.lang.Object
Methods inherited from interface android.util.Printer

Details

Public Constructors

public LogPrinter(int priority, String tag)

Create a new Printer that sends to the log with the given priority and tag.

Parameters

priority The desired log priority: Log.VERBOSE, Log.DEBUG, Log.INFO, Log.WARN, or Log.ERROR.
tag A string tag to associate with each printed log statement.

Public Methods

public void println(String x)

Write a line of text to the output. There is no need to terminate the given string with a newline.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48