|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IoBuilder in org.apache.logging.log4j.io |
---|
Methods in org.apache.logging.log4j.io that return IoBuilder | |
---|---|
IoBuilder |
IoBuilder.filter(InputStream inputStream)
Configures an InputStream to be wiretapped when building an InputStream. |
IoBuilder |
IoBuilder.filter(OutputStream outputStream)
Configures an OutputStream to be written to in addition to the underlying Logger. |
IoBuilder |
IoBuilder.filter(Reader reader)
Configures a Reader to be wiretapped when building a Reader. |
IoBuilder |
IoBuilder.filter(Writer writer)
Configures a Writer to be written to in addition to the underlying Logger. |
static IoBuilder |
IoBuilder.forLogger()
Creates a new builder using a Logger named after the calling Class. |
static IoBuilder |
IoBuilder.forLogger(Class<?> clazz)
Creates a new builder using a Logger named after a given Class. |
static IoBuilder |
IoBuilder.forLogger(org.apache.logging.log4j.Logger logger)
Creates a new builder for a given Logger . |
static IoBuilder |
IoBuilder.forLogger(String loggerName)
Creates a new builder using a Logger name. |
IoBuilder |
IoBuilder.setAutoFlush(boolean autoFlush)
Indicates whether or not a built PrintWriter or PrintStream should automatically flush when
one of the println , printf , or format methods are invoked, or when a new line character
is printed. |
IoBuilder |
IoBuilder.setBuffered(boolean buffered)
Enables or disables using a buffered variant of the desired IO class. |
IoBuilder |
IoBuilder.setBufferSize(int bufferSize)
Configures the buffer size to use when building a BufferedReader or
BufferedInputStream LoggerStream. |
IoBuilder |
IoBuilder.setCharset(Charset charset)
Specifies the character set to use when building an InputStream , OutputStream , or
PrintStream . |
IoBuilder |
IoBuilder.setLevel(org.apache.logging.log4j.Level level)
Specifies the Level to log at. |
IoBuilder |
IoBuilder.setMarker(org.apache.logging.log4j.Marker marker)
Specifies an optional Marker to use in all logging messages. |
IoBuilder |
IoBuilder.setWrapperClassName(String fqcn)
Specifies the fully qualified class name of the IO wrapper class implementation. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.