Package pl.tkowalcz.tjahzi.log4j2
Class ByteBufferDestinationRepository
- java.lang.Object
-
- pl.tkowalcz.tjahzi.log4j2.ByteBufferDestinationRepository
-
public class ByteBufferDestinationRepository extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_LINE_SIZE_BYTES
-
Constructor Summary
Constructors Constructor Description ByteBufferDestinationRepository(int maxLogLineSizeBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TjahziByteBufferDestinationthreadLocalDestination(BiConsumer<org.apache.logging.log4j.core.LogEvent,ByteBuffer> drain, org.apache.logging.log4j.core.LogEvent context)
-
-
-
Field Detail
-
DEFAULT_MAX_LINE_SIZE_BYTES
public static final int DEFAULT_MAX_LINE_SIZE_BYTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
threadLocalDestination
public TjahziByteBufferDestination threadLocalDestination(BiConsumer<org.apache.logging.log4j.core.LogEvent,ByteBuffer> drain, org.apache.logging.log4j.core.LogEvent context)
-
-