Skip to content

Commit 8d551b7

Browse files
committed
Improve documentation of nullability on LoggingEvent interface
Signed-off-by: Hermann Mørkrid <[email protected]>
1 parent 0def25e commit 8d551b7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

slf4j-api/src/main/java/org/slf4j/event/LoggingEvent.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,27 @@ public interface LoggingEvent {
1717

1818
String getLoggerName();
1919

20+
/** Log message, might be null. */
2021
String getMessage();
2122

23+
/** List of arguments in the event, might be null. */
2224
List<Object> getArguments();
2325

26+
/** Array of arguments in the event, might be null. */
2427
Object[] getArgumentArray();
2528

26-
/**
27-
* List of markers in the event, might be null.
28-
* @return markers in the event, might be null.
29-
*/
29+
/** List of markers in the event, might be null. */
3030
List<Marker> getMarkers();
3131

32+
/** List of key-value pairs in the event, might be null. */
3233
List<KeyValuePair> getKeyValuePairs();
3334

35+
/** Cause exception, might be null. */
3436
Throwable getThrowable();
3537

3638
long getTimeStamp();
3739

40+
/** Name of thread that made the log, might be null. */
3841
String getThreadName();
3942

4043
/**

0 commit comments

Comments
 (0)