Package | Description |
---|---|
org.apache.log4j.layout | |
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.net |
Log4j 2 network support.
|
Modifier and Type | Method and Description |
---|---|
void |
Log4j1XmlLayout.encode(LogEvent event,
ByteBufferDestination destination) |
Modifier and Type | Class and Description |
---|---|
class |
FileManager
Manages actual File I/O for File Appenders.
|
class |
MemoryMappedFileManager
Extends OutputStreamManager but instead of using a buffered output stream, this class maps a region of a file into
memory and writes to this memory region.
|
class |
OutputStreamManager
Manages an OutputStream so that it can be shared by multiple Appenders and will
allow appenders to reconfigure without requiring a new stream.
|
class |
RandomAccessFileManager
Extends OutputStreamManager but instead of using a buffered output stream,
this class uses a
ByteBuffer and a RandomAccessFile to do the
I/O. |
Modifier and Type | Class and Description |
---|---|
class |
RollingFileManager
The Rolling File Manager.
|
class |
RollingRandomAccessFileManager
Extends RollingFileManager but instead of using a buffered output stream, this class uses a
ByteBuffer and a
RandomAccessFile to do the I/O. |
Modifier and Type | Method and Description |
---|---|
private static void |
TextEncoderHelper.copyDataToDestination(java.nio.ByteBuffer temp,
ByteBufferDestination destination) |
private static java.nio.ByteBuffer |
TextEncoderHelper.drainIfByteBufferFull(ByteBufferDestination destination,
java.nio.ByteBuffer temp,
java.nio.charset.CoderResult result) |
private static java.nio.ByteBuffer |
TextEncoderHelper.encode(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuf,
boolean endOfInput,
ByteBufferDestination destination,
java.nio.ByteBuffer byteBuf) |
void |
PatternLayout.encode(LogEvent event,
ByteBufferDestination destination) |
void |
AbstractLayout.encode(LogEvent event,
ByteBufferDestination destination)
Encodes the specified source LogEvent to some binary representation and writes the result to the specified
destination.
|
void |
StringBuilderEncoder.encode(java.lang.StringBuilder source,
ByteBufferDestination destination) |
void |
LockingStringBuilderEncoder.encode(java.lang.StringBuilder source,
ByteBufferDestination destination) |
void |
Encoder.encode(T source,
ByteBufferDestination destination)
Encodes the specified source object to some binary representation and writes the result to the specified
destination.
|
private static java.nio.ByteBuffer |
TextEncoderHelper.encodeAsMuchAsPossible(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuf,
boolean endOfInput,
ByteBufferDestination destination,
java.nio.ByteBuffer temp) |
private void |
StringBuilderEncoder.encodeSynchronized(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuffer,
java.lang.StringBuilder source,
ByteBufferDestination destination) |
static void |
TextEncoderHelper.encodeText(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuf,
ByteBufferDestination destination)
Deprecated.
|
(package private) static void |
TextEncoderHelper.encodeText(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuf,
java.nio.ByteBuffer byteBuf,
java.lang.StringBuilder text,
ByteBufferDestination destination) |
(package private) static void |
TextEncoderHelper.encodeTextFallBack(java.nio.charset.Charset charset,
java.lang.StringBuilder text,
ByteBufferDestination destination) |
(package private) static void |
TextEncoderHelper.encodeTextWithCopy(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuf,
java.nio.ByteBuffer temp,
java.lang.StringBuilder text,
ByteBufferDestination destination) |
private void |
StringBuilderEncoder.encodeWithThreadLocals(java.nio.charset.CharsetEncoder charsetEncoder,
java.nio.CharBuffer charBuffer,
java.nio.ByteBuffer temp,
java.lang.StringBuilder source,
ByteBufferDestination destination) |
private static java.nio.ByteBuffer |
TextEncoderHelper.flushRemainingBytes(java.nio.charset.CharsetEncoder charsetEncoder,
ByteBufferDestination destination,
java.nio.ByteBuffer temp) |
private void |
StringBuilderEncoder.logEncodeTextException(java.lang.Exception ex,
java.lang.StringBuilder text,
ByteBufferDestination destination) |
private void |
LockingStringBuilderEncoder.logEncodeTextException(java.lang.Exception ex,
java.lang.StringBuilder text,
ByteBufferDestination destination) |
static void |
AbstractLayout.writeTo(byte[] data,
int offset,
int length,
ByteBufferDestination destination)
Writes the specified data to the specified destination.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSocketManager
Abstract base class for managing sockets.
|
class |
DatagramSocketManager
Socket Manager for UDP connections.
|
class |
SslSocketManager |
class |
TcpSocketManager
Manager of TCP Socket connections.
|