public class LoggerOutputStream extends OutputStream
OutputStream, który wykorzystuje podany obiekt Logger'a do logowania danych. Każda linia danych
traktowana jest jako oddzielna wiadomość i jest logowana oddzielnie.| Constructor and Description |
|---|
LoggerOutputStream(org.slf4j.Logger logger) |
LoggerOutputStream(org.slf4j.Logger logger,
LoggerLevel level) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(int b) |
flush, write, writepublic LoggerOutputStream(org.slf4j.Logger logger)
public LoggerOutputStream(org.slf4j.Logger logger,
LoggerLevel level)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2019 Suncode. All rights reserved.