org.apache.logging.log4j.message

Class SimpleMessage

  • All Implemented Interfaces:
    Serializable, Message


    public class SimpleMessage
    extends Object
    implements Message
    The simplest possible implementation of Message. It just returns the String given as the constructor argument.
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleMessage

        public SimpleMessage()
        Basic constructor.
      • SimpleMessage

        public SimpleMessage(String message)
        Constructor that includes the message.
        Parameters:
        message - The String message.

Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.