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()
Writer
getRequiredLogEntryValues
in interface Writer
LogEntry
objectspublic void write(LogEntry logEntry)
Writer
public void flush()
Writer
public void close()
Writer
protected 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 © 2018. All rights reserved.