Log4j 1.3alpha-7

Serialized Form


Package org.apache.log4j

Class org.apache.log4j.Level extends Object implements Serializable

serialVersionUID: 3491141966387921974l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Custom deserialization of Level.

Throws:
IOException - if IO exception.
ClassNotFoundException - if class not found.

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialize level.

Throws:
IOException - if exception during serialization.

readResolve

private Object readResolve()
                    throws ObjectStreamException
Resolved deserialized level to one of the stock instances. May be overriden in classes derived from Level.

Throws:
ObjectStreamException - if exception during resolution.

Class org.apache.log4j.Priority extends Level implements Serializable


Package org.apache.log4j.config

Class org.apache.log4j.config.PropertySetterException extends Exception implements Serializable

Serialized Fields

rootCause

Throwable rootCause


Package org.apache.log4j.helpers

Class org.apache.log4j.helpers.AbsoluteTimeDateFormat extends DateFormat implements Serializable

Serialized Fields

format

SimpleDateFormat format
Deprecated. 
SimpleDateFormat used to perform format requests.

Class org.apache.log4j.helpers.RelativeTimeDateFormat extends DateFormat implements Serializable

Serialized Fields

startTime

long startTime

Class org.apache.log4j.helpers.UtilLoggingLevel extends Level implements Serializable


Package org.apache.log4j.plugins

Class org.apache.log4j.plugins.PluginEvent extends EventObject implements Serializable


Package org.apache.log4j.rule

Class org.apache.log4j.rule.AbstractRule extends Object implements Serializable

serialVersionUID: -2844288145563025172l

Serialized Fields

propertySupport

PropertyChangeSupport propertySupport

Class org.apache.log4j.rule.AndRule extends AbstractRule implements Serializable

serialVersionUID: -8233444426923854651l

Serialized Fields

firstRule

Rule firstRule

secondRule

Rule secondRule

Class org.apache.log4j.rule.ColorRule extends AbstractRule implements Serializable

serialVersionUID: -794434783372847773l

Serialized Fields

rule

Rule rule

foregroundColor

Color foregroundColor

backgroundColor

Color backgroundColor

expression

String expression

Class org.apache.log4j.rule.EqualsRule extends AbstractRule implements Serializable

serialVersionUID: 1712851553477517245l

Serialized Fields

value

String value

field

String field

Class org.apache.log4j.rule.ExistsRule extends AbstractRule implements Serializable

serialVersionUID: -5386265224649967464l

Serialized Fields

field

String field

Class org.apache.log4j.rule.ExpressionRule extends AbstractRule implements Serializable

serialVersionUID: 5809121703146893729l

Serialized Fields

rule

Rule rule

Class org.apache.log4j.rule.InequalityRule extends AbstractRule implements Serializable

serialVersionUID: -5592986598528885122l

Serialized Fields

field

String field

value

String value

inequalitySymbol

String inequalitySymbol

Class org.apache.log4j.rule.LevelEqualsRule extends AbstractRule implements Serializable

serialVersionUID: -3638386582899583994l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException
Deserialize the state of the object

Throws:
IOException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialize the state of the object

Throws:
IOException

Class org.apache.log4j.rule.LikeRule extends AbstractRule implements Serializable

serialVersionUID: -3375458885595683156l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Deserialize the state of the object

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialize the state of the object

Throws:
IOException

Class org.apache.log4j.rule.NotEqualsRule extends AbstractRule implements Serializable

serialVersionUID: -1135478467213793211l

Serialized Fields

field

String field

value

String value

Class org.apache.log4j.rule.NotRule extends AbstractRule implements Serializable

serialVersionUID: -6827159473117969306l

Serialized Fields

rule

Rule rule

Class org.apache.log4j.rule.OrRule extends AbstractRule implements Serializable

serialVersionUID: 2088765995061413165l

Serialized Fields

rule1

Rule rule1

rule2

Rule rule2

Class org.apache.log4j.rule.PartialTextMatchRule extends AbstractRule implements Serializable

serialVersionUID: 6963284773637727558l

Serialized Fields

field

String field

value

String value

Class org.apache.log4j.rule.TimestampEqualsRule extends AbstractRule implements Serializable

serialVersionUID: 1639079557187790321l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Deserialize the state of the object

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialize the state of the object

Throws:
IOException
Serialized Fields

timeStamp

long timeStamp

Class org.apache.log4j.rule.TimestampInequalityRule extends AbstractRule implements Serializable

serialVersionUID: -4642641663914789241l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Deserialize the state of the object

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialize the state of the object

Throws:
IOException
Serialized Fields

timeStamp

long timeStamp


Package org.apache.log4j.spi

Class org.apache.log4j.spi.LoggingEvent extends Object implements Serializable

serialVersionUID: -868428216207166145l

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Serialized Fields

categoryName

String categoryName

ndc

String ndc
The nested diagnostic context (NDC) of logging event.


properties

Map properties

The properties map is specific for this event.

When serialized, it contains a copy of MDC properties as well as LoggerRepository properties.

It survives serialization.

Since:
1.3

ndcLookupRequired

boolean ndcLookupRequired
Have we tried to do an NDC lookup? If we did, there is no need to do it again. Note that its value is always false when serialized. Thus, a receiving SocketNode will never use it's own (incorrect) NDC. See also writeObject method.


renderedMessage

String renderedMessage
The application supplied message rendered through the log4j objet rendering mechanism.


threadName

String threadName
The name of thread in which this logging event was generated.


throwableInfo

ThrowableInformation throwableInfo
This variable contains information about this event's throwable


timeStamp

long timeStamp
The number of milliseconds elapsed from 1/1/1970 until logging event was created.


sequenceNumber

long sequenceNumber
Each logging event bears a sequence number.

Since:
1.3

locationInfo

org.apache.log4j.spi.location.LocationInfo locationInfo
Location information for the caller.

Class org.apache.log4j.spi.ThrowableInformation extends Object implements Serializable

serialVersionUID: -4748765566864322735l

Serialized Fields

rep

String[] rep


Log4j 1.3alpha-7

Copyright 2000-2005 Apache Software Foundation.