Package org.apache.logging.log4j.core
Class Logger.LoggerProxy
- java.lang.Object
-
- org.apache.logging.log4j.core.Logger.LoggerProxy
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Logger
protected static class Logger.LoggerProxy extends java.lang.Object implements java.io.Serializable
Serialization proxy class for Logger. Since the LoggerContext and config information can be reconstructed on the fly, the only information needed for a Logger are what's available in AbstractLogger.- Since:
- 2.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MessageFactory
messageFactory
private java.lang.String
name
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description LoggerProxy(java.lang.String name, MessageFactory messageFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
readResolve()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
private final java.lang.String name
-
messageFactory
private final MessageFactory messageFactory
-
-
Constructor Detail
-
LoggerProxy
public LoggerProxy(java.lang.String name, MessageFactory messageFactory)
-
-