Top Description Inners Fields Constructors Methods
org.apache.commons.logging

pack-priv final Class LogAdapter

extends Object
Class Inheritance
Imports
java.io.Serializable, java.util.function.Function, java.util.logging.LogRecord, org.apache.logging.log4j.Level, .LogManager, org.apache.logging.log4j.spi.ExtendedLogger, .LoggerContext, org.slf4j.Logger, .LoggerFactory, org.slf4j.spi.LocationAwareLogger

Spring's common JCL adapter behind LogFactory and LogFactoryService. Detects the presence of Log4j 2.x / SLF4J, falling back to java.util.logging.
Authors
Juergen Hoeller, Sebastien Deleuze
Since
5.1

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final Function<String, Log>
private static final boolean
private static final boolean
private static final boolean
private static final boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Log
createLog(String
the logger name
name
)

Create an actual Log instance for the selected API.

private static boolean
isPresent(String className)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait