Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,11 @@ public StringBuilder toSerializable(LogEvent event, StringBuilder builder) {
return builder;
}

/**
* Determines if any formatter requires location information.
*
* @return true if location information is required, false otherwise
*/
public boolean requiresLocation() {
return Arrays.stream(formatters).anyMatch(PatternFormatter::requiresLocation);
}
Expand Down