| Package | Description | 
|---|---|
| org.apache.log4j.pattern | 
 Provides classes implementing format specifiers in conversion patterns. 
 | 
| org.apache.log4j.spi | 
 Contains part of the System Programming Interface (SPI) needed to
extend log4j. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LocationInfo | 
LogEvent.getLocationInformation()
Set the location information for this logging event. 
 | 
| Constructor and Description | 
|---|
LogEvent(String fqnOfCategoryClass,
        Logger logger,
        long timeStamp,
        Level level,
        Object message,
        String threadName,
        ThrowableInformation throwable,
        String ndc,
        LocationInfo info,
        Map properties)
Create new instance. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static LocationInfo | 
LocationInfo.NA_LOCATION_INFO
NA_LOCATION_INFO is provided for compatibility with log4j 1.3. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LocationInfo | 
LoggingEvent.getLocationInformation()
Set the location information for this logging event. 
 | 
| Constructor and Description | 
|---|
LoggingEvent(String fqnOfCategoryClass,
            Category logger,
            long timeStamp,
            Level level,
            Object message,
            String threadName,
            ThrowableInformation throwable,
            String ndc,
            LocationInfo info,
            Map properties)
Create new instance. 
 | 
Copyright © 1999–2024 QOS.CH Sarl (Switzerland). All rights reserved.