Source Code for Apache Log4j API

Apache Log4j API provides the interface that applications should code to and provides the adapter components required for implementers to create a logging implementation. Apache Log4j API is a required module to use Apache Log4j.

Bytecode (Java 8) for Apache Log4j API is provided in a separate JAR file like log4j-api-2.14.1.jar.

Source Code files for Apache Log4j API are provided in both binary packge like apache-log4j-2.14.1-bin.zip and source package like apache-log4j-2.14.1-src.zip. You can download them at Apache Log4j Website.

You can also browse Source Code files for Apache Log4j API 2.14.1 below.

✍: FYIcenter.com

Package Content:

org/apache/logging/log4j/util/ProviderUtil.java
org/apache/logging/log4j/util/TriConsumer.java
org/apache/logging/log4j/message/ObjectMessage.java
org/apache/logging/log4j/message/MessageFormatMessageFactory.java
org/apache/logging/log4j/message/ParameterizedMessage.java
org/apache/logging/log4j/spi/CleanableThreadContextMap.java
org/apache/logging/log4j/util/MessageSupplier.java
org/apache/logging/log4j/internal/DefaultLogBuilder.java
org/apache/logging/log4j/message/MultiformatMessage.java
org/apache/logging/log4j/message/StructuredDataCollectionMessage.java
org/apache/logging/log4j/message/TimestampMessage.java
org/apache/logging/log4j/message/ParameterConsumer.java
org/apache/logging/log4j/message/Clearable.java
org/apache/logging/log4j/spi/AbstractLogger.java
org/apache/logging/log4j/Level.java
org/apache/logging/log4j/util/MultiFormatStringBuilderFormattable.java
org/apache/logging/log4j/internal/LogManagerStatus.java
org/apache/logging/log4j/message/Message.java
org/apache/logging/log4j/message/package-info.java
org/apache/logging/log4j/spi/NoOpThreadContextMap.java
org/apache/logging/log4j/spi/LoggerContextShutdownEnabled.java
org/apache/logging/log4j/spi/ThreadContextMap.java
org/apache/logging/log4j/CloseableThreadContext.java
org/apache/logging/log4j/util/LambdaUtil.java
org/apache/logging/log4j/util/PerformanceSensitive.java
org/apache/logging/log4j/util/StackLocator.java
org/apache/logging/log4j/message/SimpleMessage.java
org/apache/logging/log4j/message/SimpleMessageFactory.java
org/apache/logging/log4j/message/FlowMessageFactory.java
org/apache/logging/log4j/spi/Terminable.java
org/apache/logging/log4j/spi/MutableThreadContextStack.java
org/apache/logging/log4j/util/PropertyFilePropertySource.java
org/apache/logging/log4j/util/Timer.java
org/apache/logging/log4j/util/Chars.java
org/apache/logging/log4j/util/package-info.java
org/apache/logging/log4j/util/Constants.java
org/apache/logging/log4j/Logger.java
org/apache/logging/log4j/message/MessageFactory2.java
org/apache/logging/log4j/message/ParameterVisitable.java
org/apache/logging/log4j/message/ExitMessage.java
org/apache/logging/log4j/status/StatusData.java
org/apache/logging/log4j/status/StatusLogger.java
org/apache/logging/log4j/simple/SimpleLogger.java
org/apache/logging/log4j/spi/ReadOnlyThreadContextMap.java
org/apache/logging/log4j/spi/CopyOnWriteSortedArrayThreadContextMap.java
org/apache/logging/log4j/util/StringBuilderFormattable.java
org/apache/logging/log4j/util/Activator.java
org/apache/logging/log4j/message/BasicThreadInformation.java
org/apache/logging/log4j/message/ParameterizedMessageFactory.java
org/apache/logging/log4j/spi/DefaultThreadContextStack.java
org/apache/logging/log4j/util/PropertySource.java
org/apache/logging/log4j/util/PrivateSecurityManagerStackTraceUtil.java
org/apache/logging/log4j/util/IndexedStringMap.java
org/apache/logging/log4j/message/LocalizedMessage.java
org/apache/logging/log4j/message/FormattedMessageFactory.java
org/apache/logging/log4j/message/MessageCollectionMessage.java
org/apache/logging/log4j/simple/SimpleLoggerContextFactory.java
org/apache/logging/log4j/simple/SimpleLoggerContext.java
org/apache/logging/log4j/spi/DefaultThreadContextMap.java
org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java
org/apache/logging/log4j/spi/LoggerContextFactory.java
org/apache/logging/log4j/spi/LoggerContextKey.java
org/apache/logging/log4j/Marker.java
org/apache/logging/log4j/util/LowLevelLogUtil.java
org/apache/logging/log4j/util/PropertiesUtil.java
org/apache/logging/log4j/LogManager.java
org/apache/logging/log4j/message/LoggerNameAwareMessage.java
org/apache/logging/log4j/message/LocalizedMessageFactory.java
org/apache/logging/log4j/spi/GarbageFreeSortedArrayThreadContextMap.java
org/apache/logging/log4j/spi/ThreadContextMapFactory.java
org/apache/logging/log4j/package-info.java
org/apache/logging/log4j/util/Unbox.java
org/apache/logging/log4j/util/PropertiesPropertySource.java
org/apache/logging/log4j/message/ReusableMessageFactory.java
org/apache/logging/log4j/message/MessageFormatMessage.java
org/apache/logging/log4j/spi/LoggerAdapter.java
org/apache/logging/log4j/spi/CopyOnWrite.java
org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
org/apache/logging/log4j/spi/LoggerContextShutdownAware.java
org/apache/logging/log4j/util/ProcessIdUtil.java
org/apache/logging/log4j/util/BiConsumer.java
org/apache/logging/log4j/message/ParameterizedNoReferenceMessageFactory.java
org/apache/logging/log4j/status/StatusConsoleListener.java
org/apache/logging/log4j/status/StatusListener.java
org/apache/logging/log4j/status/package-info.java
org/apache/logging/log4j/spi/ThreadContextStack.java
org/apache/logging/log4j/spi/MessageFactory2Adapter.java
org/apache/logging/log4j/util/FilteredObjectInputStream.java
org/apache/logging/log4j/util/IndexedReadOnlyStringMap.java
org/apache/logging/log4j/util/LoaderUtil.java
org/apache/logging/log4j/util/SortedArrayStringMap.java
org/apache/logging/log4j/message/ReusableSimpleMessage.java
org/apache/logging/log4j/message/FormattedMessage.java
org/apache/logging/log4j/message/AsynchronouslyFormattable.java
org/apache/logging/log4j/message/StructuredDataId.java
org/apache/logging/log4j/message/DefaultFlowMessageFactory.java
org/apache/logging/log4j/message/ReusableParameterizedMessage.java
org/apache/logging/log4j/spi/package-info.java
org/apache/logging/log4j/util/StackLocatorUtil.java
org/apache/logging/log4j/util/EnglishEnums.java
org/apache/logging/log4j/util/ReadOnlyStringMap.java
org/apache/logging/log4j/util/StringMap.java
org/apache/logging/log4j/message/MessageFactory.java
org/apache/logging/log4j/message/ReusableObjectMessage.java
org/apache/logging/log4j/message/StringFormatterMessageFactory.java
org/apache/logging/log4j/message/MapMessageJsonFormatter.java
org/apache/logging/log4j/message/AbstractMessageFactory.java
org/apache/logging/log4j/spi/StandardLevel.java
org/apache/logging/log4j/spi/LoggerRegistry.java
org/apache/logging/log4j/util/Strings.java
org/apache/logging/log4j/message/ThreadInformation.java
org/apache/logging/log4j/message/EntryMessage.java
org/apache/logging/log4j/message/StringMapMessage.java
org/apache/logging/log4j/spi/LocationAwareLogger.java
org/apache/logging/log4j/spi/ExtendedLogger.java
org/apache/logging/log4j/LoggingException.java
org/apache/logging/log4j/ThreadContext.java
org/apache/logging/log4j/util/Supplier.java
org/apache/logging/log4j/EventLogger.java
org/apache/logging/log4j/message/ThreadDumpMessage.java
org/apache/logging/log4j/message/StructuredDataMessage.java
org/apache/logging/log4j/simple/package-info.java
org/apache/logging/log4j/util/SystemPropertiesPropertySource.java
org/apache/logging/log4j/util/StringBuilders.java
org/apache/logging/log4j/util/Base64Util.java
org/apache/logging/log4j/message/FlowMessage.java
org/apache/logging/log4j/message/MapMessage.java
org/apache/logging/log4j/message/ReusableMessage.java
org/apache/logging/log4j/spi/Provider.java
org/apache/logging/log4j/spi/ObjectThreadContextMap.java
org/apache/logging/log4j/spi/ThreadContextMap2.java
org/apache/logging/log4j/util/EnvironmentPropertySource.java
org/apache/logging/log4j/LogBuilder.java
org/apache/logging/log4j/message/ObjectArrayMessage.java
org/apache/logging/log4j/message/StringFormattedMessage.java
org/apache/logging/log4j/message/ParameterFormatter.java
org/apache/logging/log4j/spi/LoggerContext.java
org/apache/logging/log4j/MarkerManager.java

 

Or download all of them as a single archive file:

File name: log4j-api-2.14.1-sources.jar
File size: 264773 bytes
Release date: 2021-03-06
Download 

 

Source Code for Apache Log4j Core Implementation

Downloading Apache Log4j Binary Package

Downloading and Reviewing Apache Log4j Packages

⇑⇑ FAQ for Apache Log4j

2015-11-17, 34883👍, 0💬