| Package | Description |
|---|---|
| org.apache.logging.log4j |
Public API for Log4j 2.
|
| org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
| org.apache.logging.log4j.util |
Internal utility classes for the Log4j 2 API.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MarkerManager.Log4jMarker.isInstanceOf(Marker marker) |
boolean |
MarkerManager.Log4jMarker.isInstanceOf(String markerName) |
| Modifier and Type | Class and Description |
|---|---|
class |
MapMessage<M extends MapMessage<M,V>,V>
Represents a Message that consists of a Map.
|
interface |
ParameterVisitable
Allows message parameters to be iterated over without any allocation
or memory copies.
|
interface |
ReusableMessage
Messages implementing this interface are reused between logging calls.
|
class |
ReusableMessageFactory
Implementation of the
MessageFactory interface that avoids allocating temporary objects where possible. |
class |
ReusableObjectMessage
Mutable Message wrapper around an Object message.
|
class |
ReusableParameterizedMessage
Reusable parameterized message.
|
class |
ReusableSimpleMessage
Mutable Message wrapper around a String message.
|
class |
StringMapMessage
A
StringMapMessage typed to String-only values. |
| Modifier and Type | Class and Description |
|---|---|
class |
Unbox
Utility for preventing primitive parameter values from being auto-boxed.
|
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
Unbox.box(boolean value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(byte value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(char value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(double value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(float value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(int value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(long value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
static StringBuilder |
Unbox.box(short value)
Returns a
StringBuilder containing the text representation of the specified primitive value. |
Class<?> |
StackLocator.getCallerClass(Class<?> anchor) |
static Class<?> |
StackLocatorUtil.getCallerClass(Class<?> anchor) |
Class<?> |
StackLocator.getCallerClass(Class<?> sentinelClass,
Predicate<Class<?>> callerPredicate) |
static Class<?> |
StackLocatorUtil.getCallerClass(Class<?> sentinelClass,
Predicate<Class<?>> callerPredicate)
Search for a calling class.
|
Class<?> |
StackLocator.getCallerClass(int depth) |
static Class<?> |
StackLocatorUtil.getCallerClass(int depth) |
static Class<?> |
StackLocatorUtil.getCallerClass(String fqcn)
Equivalent to
StackLocatorUtil.getCallerClass(String, String) with an empty pkg. |
Class<?> |
StackLocator.getCallerClass(String fqcn,
String pkg) |
static Class<?> |
StackLocatorUtil.getCallerClass(String fqcn,
String pkg)
Search for a calling class.
|
Stack<Class<?>> |
StackLocator.getCurrentStackTrace() |
static Stack<Class<?>> |
StackLocatorUtil.getCurrentStackTrace() |
Copyright © 2022 JBoss by Red Hat. All rights reserved.