You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2022/01/10 23:08:21 UTC
[logging-log4j2] 01/03: Sort memebers.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 3eb95ab2a6fd0daeea2c5cdf0dffccf232d3a0d7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 10 18:01:17 2022 -0500
Sort memebers.
---
.../java/org/apache/log4j/spi/LoggingEvent.java | 84 +++++++++++-----------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/LoggingEvent.java b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/LoggingEvent.java
index 1f0c5d0..34b1d18 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/LoggingEvent.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/LoggingEvent.java
@@ -30,6 +30,28 @@ import java.util.Set;
public class LoggingEvent {
/**
+ Returns the time when the application started, in milliseconds
+ elapsed since 01.01.1970.
+ @return the JVM start time.
+ */
+ public static long getStartTime() {
+ return LogEventAdapter.getStartTime();
+ }
+
+ public String getFQNOfLoggerClass() {
+ return null;
+ }
+
+ /**
+ * Return the level of this event. Use this form instead of directly
+ * accessing the <code>level</code> field.
+ * @return Always returns null.
+ */
+ public Level getLevel() {
+ return null;
+ }
+
+ /**
Set the location information for this logging event. The collected
information is cached for future use.
@return Always returns null.
@@ -39,11 +61,12 @@ public class LoggingEvent {
}
/**
- * Return the level of this event. Use this form instead of directly
- * accessing the <code>level</code> field.
+ * Gets the logger of the event.
+ * Use should be restricted to cloning events.
* @return Always returns null.
+ * @since 1.2.15
*/
- public Level getLevel() {
+ public Category getLogger() {
return null;
}
@@ -56,22 +79,16 @@ public class LoggingEvent {
return null;
}
- public String getFQNOfLoggerClass() {
+ public
+ Object getMDC(String key) {
return null;
}
- public long getTimeStamp() {
- return 0;
- }
-
/**
- * Gets the logger of the event.
- * Use should be restricted to cloning events.
- * @return Always returns null.
- * @since 1.2.15
+ Obtain a copy of this thread's MDC prior to serialization or
+ asynchronous logging.
*/
- public Category getLogger() {
- return null;
+ public void getMDCCopy() {
}
/**
@@ -93,29 +110,20 @@ public class LoggingEvent {
return null;
}
- public
- Object getMDC(String key) {
+ public Map getProperties() {
return null;
}
- /**
- Obtain a copy of this thread's MDC prior to serialization or
- asynchronous logging.
- */
- public void getMDCCopy() {
+ public String getProperty(final String key) {
+ return null;
}
- public String getRenderedMessage() {
+ public Set getPropertyKeySet() {
return null;
}
- /**
- Returns the time when the application started, in milliseconds
- elapsed since 01.01.1970.
- @return the JVM start time.
- */
- public static long getStartTime() {
- return LogEventAdapter.getStartTime();
+ public String getRenderedMessage() {
+ return null;
}
public String getThreadName() {
@@ -142,24 +150,16 @@ public class LoggingEvent {
return null;
}
- public void setProperty(final String propName,
- final String propValue) {
-
- }
-
- public String getProperty(final String key) {
- return null;
+ public long getTimeStamp() {
+ return 0;
}
- public Set getPropertyKeySet() {
+ public Object removeProperty(String propName) {
return null;
}
- public Map getProperties() {
- return null;
- }
+ public void setProperty(final String propName,
+ final String propValue) {
- public Object removeProperty(String propName) {
- return null;
}
}