public class LogWriter extends Writer implements Serializable
| Constructor and Description |
|---|
LogWriter(org.slf4j.Logger target) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
append(char value)
Append a single character to this Writer.
|
Writer |
append(CharSequence value)
Append a character sequence to this Writer.
|
Writer |
append(CharSequence value,
int start,
int end)
Append a portion of a character sequence to the
StringBuilder. |
void |
close() |
void |
flush() |
void |
write(char[] value,
int offset,
int length)
Write a portion of a character array to the
StringBuilder. |
void |
write(String value)
Write a String to the
StringBuilder. |
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic Writer append(char value)
append in interface Appendableappend in class Writervalue - The character to appendpublic Writer append(CharSequence value)
append in interface Appendableappend in class Writervalue - The character to appendpublic Writer append(CharSequence value, int start, int end)
StringBuilder.append in interface Appendableappend in class Writervalue - The character to appendstart - The index of the first characterend - The index of the last character + 1public void write(String value)
StringBuilder.public void write(char[] value,
int offset,
int length)
StringBuilder.Copyright © 2016 evolveum. All rights reserved.