Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rewrite |
Apache Flume Appender.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
Modifier and Type | Method and Description |
---|---|
static PropertiesRewritePolicy |
PropertiesRewritePolicy.createPolicy(Configuration config,
Property[] props)
The factory method to create the PropertiesRewritePolicy.
|
Modifier and Type | Method and Description |
---|---|
static LoggerConfig |
AsyncLoggerConfig.RootLogger.createLogger(String additivity,
String levelName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter) |
static LoggerConfig |
AsyncLoggerConfig.createLogger(String additivity,
String levelName,
String loggerName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Factory method to create a LoggerConfig.
|
Modifier and Type | Method and Description |
---|---|
void |
RingBufferLogEvent.mergePropertiesIntoContextMap(Map<Property,Boolean> properties,
StrSubstitutor strSubstitutor)
Merges the contents of the specified map into the contextMap, after replacing any variables in the property
values with the StrSubstitutor-supplied actual values.
|
Constructor and Description |
---|
AsyncLoggerConfig(String name,
List<AppenderRef> appenders,
Filter filter,
org.apache.logging.log4j.Level level,
boolean additive,
Property[] properties,
Configuration config,
boolean includeLocation) |
Modifier and Type | Method and Description |
---|---|
static Property |
Property.createProperty(String name,
String value)
Creates a Property.
|
Modifier and Type | Method and Description |
---|---|
Map<Property,Boolean> |
LoggerConfig.getProperties()
Returns an unmodifiable map with the configuration properties, or
null if this LoggerConfig does not have any configuration
properties. |
Modifier and Type | Method and Description |
---|---|
static StrLookup |
PropertiesPlugin.configureSubstitutor(Property[] properties,
Configuration config)
Create the Properties component.
|
static LoggerConfig |
LoggerConfig.RootLogger.createLogger(String additivity,
org.apache.logging.log4j.Level level,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter) |
static LoggerConfig |
LoggerConfig.createLogger(String additivity,
org.apache.logging.log4j.Level level,
String loggerName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Factory method to create a LoggerConfig.
|
Constructor and Description |
---|
LoggerConfig(String name,
List<AppenderRef> appenders,
Filter filter,
org.apache.logging.log4j.Level level,
boolean additive,
Property[] properties,
Configuration config,
boolean includeLocation) |
Modifier and Type | Method and Description |
---|---|
LogEvent |
DefaultLogEventFactory.createEvent(String loggerName,
org.apache.logging.log4j.Marker marker,
String fqcn,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message data,
List<Property> properties,
Throwable t)
Creates a log event.
|
LogEvent |
LogEventFactory.createEvent(String loggerName,
org.apache.logging.log4j.Marker marker,
String fqcn,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message data,
List<Property> properties,
Throwable t) |
Constructor and Description |
---|
Log4jLogEvent(String loggerName,
org.apache.logging.log4j.Marker marker,
String loggerFQCN,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message message,
List<Property> properties,
Throwable t)
Constructor.
|
Copyright © 1999-2021 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.