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 Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public Writer append(char value)
append
in interface Appendable
append
in class Writer
value
- The character to appendpublic Writer append(CharSequence value)
append
in interface Appendable
append
in class Writer
value
- The character to appendpublic Writer append(CharSequence value, int start, int end)
StringBuilder
.append
in interface Appendable
append
in class Writer
value
- 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.