Package org.apache.logging.log4j.status
Class StatusLogger.InstanceHolder
- java.lang.Object
-
- org.apache.logging.log4j.status.StatusLogger.InstanceHolder
-
- Enclosing class:
- StatusLogger
private static final class StatusLogger.InstanceHolder extends java.lang.ObjectWrapper for the default instance for lazy initialization.The initialization will be performed when the JVM initializes the class. Since
InstanceHolderhas no other fields or methods, class initialization occurs when theINSTANCEfield is first referenced.
-
-
Field Summary
Fields Modifier and Type Field Description private static StatusLoggerINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateInstanceHolder()
-
-
-
Field Detail
-
INSTANCE
private static volatile StatusLogger INSTANCE
-
-