Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation of nullability on LoggingEvent interface #446

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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