Repository: logging-log4j2 Updated Branches: refs/heads/release-2.x 341f77254 -> c739443da
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c739443d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c739443d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c739443d Branch: refs/heads/release-2.x Commit: c739443da0004e61e24b8634020af6be0435c6cd Parents: 341f772 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Sun Nov 4 10:02:02 2018 -0700 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Sun Nov 4 10:02:02 2018 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/logging/log4j/core/LogEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c739443d/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java index 0aa77a0..d49acab 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java @@ -133,14 +133,14 @@ public interface LogEvent extends Serializable { long getTimeMillis(); /** - * Returns the timestamp when the message was logged. + * Returns the Instant when the message was logged. * <p> * <b>Caution</b>: if this {@code LogEvent} implementation is mutable and reused for multiple consecutive log messages, * then the {@code Instant} object returned by this method is also mutable and reused. * Client code should not keep a reference to the returned object but make a copy instead. * </p> * - * @return the {@code Instant} holding timestamp details for this log event + * @return the {@code Instant} holding Instant details for this log event * @since 2.11 */ Instant getInstant();