public class LoggingOutputStream extends OutputStream
Modifier and Type | Class and Description |
---|---|
static class |
LoggingOutputStream.LoggingLevel
Enum representing the standard logging levels for commons logging.
|
Constructor and Description |
---|
LoggingOutputStream(LoggingOutputStream.LoggingLevel loggingLevel,
org.slf4j.Logger logger,
String prefix)
Constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
write(int b) |
close, flush, write, write
public LoggingOutputStream(LoggingOutputStream.LoggingLevel loggingLevel, org.slf4j.Logger logger, String prefix)
loggingLevel
- The logging level at which to log messages from this instance.logger
- The logger to which messages will be logged.prefix
- A prefix by which output from this instance can be identified.public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.