Class ObjectMessage

java.lang.Object
org.apache.logging.log4j.message.ObjectMessage
All Implemented Interfaces:
Serializable, Message, StringBuilderFormattable

public class ObjectMessage extends Object implements Message, StringBuilderFormattable
Handles messages that contain an Object.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • obj

      private transient Object obj
    • objectString

      private transient String objectString
  • Constructor Details

    • ObjectMessage

      public ObjectMessage(Object obj)
      Creates the ObjectMessage.
      Parameters:
      obj - The Object to format.
  • Method Details