Uses of Class
org.apache.logging.log4j.io.IoBuilder
Packages that use IoBuilder
-
Uses of IoBuilder in org.apache.logging.log4j.io
Methods in org.apache.logging.log4j.io that return IoBuilderModifier and TypeMethodDescriptionIoBuilder.filter
(InputStream inputStream) Configures anInputStream
to be wiretapped when building an InputStream.IoBuilder.filter
(OutputStream outputStream) Configures anOutputStream
to be written to in addition to the underlying Logger.Configures aReader
to be wiretapped when building a Reader.Configures aWriter
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
Creates a new builder using a Logger named after a given Class.static IoBuilder
Creates a new builder using a Logger name.static IoBuilder
Creates a new builder for a givenLogger
.IoBuilder.setAutoFlush
(boolean autoFlush) Indicates whether or not a builtPrintWriter
orPrintStream
should automatically flush when one of theprintln
,printf
, orformat
methods are invoked, or when a new line character is printed.IoBuilder.setBuffered
(boolean buffered) Enables or disables using a buffered variant of the desired IO class.IoBuilder.setBufferSize
(int bufferSize) Configures the buffer size to use when building aBufferedReader
orBufferedInputStream
LoggerStream.IoBuilder.setCharset
(Charset charset) Specifies theLevel
to log at.Specifies an optionalMarker
to use in all logging messages.IoBuilder.setWrapperClassName
(String fqcn) Specifies the fully qualified class name of the IO wrapper class implementation.