org.apache.logging.log4j.message

Interface TimestampMessage



  • public interface TimestampMessage
    Messages that use this interface will cause the timestamp in the message to be used instead of the timestamp in the LogEvent.
    • Method Detail

      • getTimestamp

        long getTimestamp()
        Returns the timestamp.
        Returns:
        The timestamp.

Copyright © 1999-2023 The 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.