| Constructor | Description |
|---|---|
LogcatWriter(java.util.Map<java.lang.String,java.lang.String> properties) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Closes the writer.
|
void |
flush() |
Outputs buffered log entries immediately.
|
java.util.Collection<LogEntryValue> |
getRequiredLogEntryValues() |
Returns all log entry values that are required for outputting a log entry.
|
protected java.lang.String |
renderMessage(LogEntry logEntry) |
Renders the log message from a log entry.
|
protected java.lang.String |
renderTag(LogEntry logEntry) |
Renders the tag from a log entry.
|
void |
write(LogEntry logEntry) |
Outputs a given log entry.
|
public LogcatWriter(java.util.Map<java.lang.String,java.lang.String> properties)
properties - Configuration for writerpublic java.util.Collection<LogEntryValue> getRequiredLogEntryValues()
WritergetRequiredLogEntryValues in interface WriterLogEntry objectspublic void write(LogEntry logEntry)
Writerpublic void flush()
Writerpublic void close()
Writerprotected java.lang.String renderTag(LogEntry logEntry)
logEntry - Log entry for rendering tagprotected java.lang.String renderMessage(LogEntry logEntry)
logEntry - Log entry for rendering log messageCopyright © 2019. All rights reserved.