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
Represents a Message that consists of a Map.
|
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.
|
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. |
static Class<?> |
ReflectionUtil.getCallerClass(Class<?> anchor) |
static Class<?> |
ReflectionUtil.getCallerClass(int depth) |
static Class<?> |
ReflectionUtil.getCallerClass(String fqcn) |
static Class<?> |
ReflectionUtil.getCallerClass(String fqcn,
String pkg) |
static Stack<Class<?>> |
ReflectionUtil.getCurrentStackTrace() |
Copyright © 1999-2017 The 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.