Android Reference
LogWriter
android.util
Class LogWriter
-
-
Constructor Summary
Constructors
Constructor and Description |
LogWriter(int priority,
String tag)
Create a new Writer that sends to the log with the given priority
and tag.
|
LogWriter(int priority,
String tag,
int buffer) |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
close()
Closes this writer.
|
void |
flush()
Flushes this writer.
|
void |
write(char[] buf,
int offset,
int count)
Writes count characters starting at offset in buf
to the target.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LogWriter
public LogWriter(int priority,
String tag)
Create a new Writer 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.
-
Method Detail
-
write
public void write(char[] buf,
int offset,
int count)
Description copied from class: Writer
Writes count
characters starting at offset
in buf
to the target.
- Specified by:
write
in class Writer
- Parameters:
buf
- the non-null character array to write.offset
- the index of the first character in buf
to write.count
- the maximum number of characters to write.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 92 / 159132786. Delta: 0.03786 с