Skip to content

Commit

Permalink
Improve documentation of nullability on LoggingEvent interface
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mørkrid <[email protected]>
  • Loading branch information
hermannm committed Dec 27, 2024
1 parent 0def25e commit 8d551b7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions slf4j-api/src/main/java/org/slf4j/event/LoggingEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,27 @@ public interface LoggingEvent {

String getLoggerName();

/** Log message, might be null. */
String getMessage();

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

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

/**
* List of markers in the event, might be null.
* @return markers in the event, might be null.
*/
/** List of markers in the event, might be null. */
List<Marker> getMarkers();

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

/** Cause exception, might be null. */
Throwable getThrowable();

long getTimeStamp();

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

/**
Expand Down

0 comments on commit 8d551b7

Please sign in to comment.